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

Webview or Webcontrol Event for Scroll position changed... Options
Yohan
Posted: Monday, May 6, 2019 9:45:56 PM
Rank: Newbie
Groups: Member

Joined: 4/18/2019
Posts: 5
Hi,

I can get the scroll position using GetScrollOffset().
But there is no way to get a scroll offset value using Event to use external web.
Is there any method to get a scroll position using event ?

Best regards,
eo_support
Posted: Wednesday, May 8, 2019 3:23:37 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 23,072
Hi,

There is no built-in support for such event. However it's possible for you to use WebView.JSInitCode to inject additional JavaScript code into the page to handle the event using JavaScript. You can then callback into your .NET code from your JavaScript code. See here for more details:

https://www.essentialobjects.com/doc/webbrowser/advanced/jsext.aspx

Thanks


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.