My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser - how we can show a page, but later disabled all navigate or links Options
Posted: Wednesday, May 16, 2018 7:33:51 PM
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.

Posted: Thursday, May 17, 2018 9:54:14 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 20,900

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.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.