Rank: Newbie Groups: Member
Joined: 5/10/2018 Posts: 3
|
we need to load the page on the control, by example load "https://www.amazon.com/" but when the load of page has finish we need to disable all the navigation and all efects (i neeed to stay like a photo by example, but allowin work on the webcontrol) so this way i can by example select an html element on the page (click), know the element clicked and then change the style to market on page was element was clicked, but without executing the navigate asociated with the real click action.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
You can use LoadUrlAndWait to finish loading the initial page, and then handle the WebView's BeforeNavigate event to cancel navigation. I am not sure what you meant by effects --- if those are driven by JavaScript, then you have no way to stop it because if you disable JavaScript all together, then it's unlikely that the initial will continue to function and load properly.
Thanks!
|