Dear Team,
is there a way to programmatically scroll HtmlPanel?
Replacing the content keeps the scroll position and does not return the scroll position to the top.
hp.Html = null;
hp.Html = “<span>new long content</span>”;
For short documents it is not a problem, but for long documents the users need to scroll to the top themselves.
Hi Kizaemon,
this can be achieved with code like this:
this.htmlPanel1.Call("scrollToY", 0);
Best regards
Frank
Please login first to submit.