Scrolling HtmlPanel

Answered
0
0

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.

 

 

  • You must to post comments
Best Answer
1
1

Hi Kizaemon,

this can be achieved with code like this:

this.htmlPanel1.Call("scrollToY", 0);

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.