TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bryan Nafegar
NA
2
1.7k
Is it possible to catch button clicks on the webpage
Jun 20 2014 10:58 AM
If anyone is familiar with Android, there is a function call
shouldOverrideUrlLoading
that according to documentation: "
Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView. If WebViewClient is not provided, by default WebView will ask Activity Manager to choose the proper handler for the url. If WebViewClient is provided, return true means the host application handles the url, while return false means the current WebView handles the url. This method is not called for requests using the POST "method
"/
I need something like this for a C# winforms application displaying a webpage. Within the web page, there is a button, within the html/javascript that when clicked, a javascript function changes the url to something, then I need to check for this change and parse json that is sends. Its latitude and longitude and I hopefully want to open googleMaps with the webview. I've seen some tutorials but they dont take into account I need the button clicked first to call the javascript function
Reply
Answers (
0
)
How to change the color of object by code in C#?
Listen for button click on web page