Hi there, what is the easiest way to scroll to end after adding some content? Or scroll to top of document? Some background...
I've wrapped the HtmlPanel into a ScrollableHtmlPanel which allows the use of my own custom scroll bars, everything works great, the Home and End keys do what they should, but programmatically I can't find a way to scroll the panel without setting focus and sending a Home or End key to the control. This works naturally, but has other side effects.
I have a similar control which wraps a RichTextBox, and in that case I was able to implement my own scroll-to methods by using the RichTextBox.Select() method. I'm looking for something similar to HtmlPanel but so far no luck.
Thanks in advance!
P.S. I forgot to add: AutoScroll is set to true...
I've wrapped the HtmlPanel into a ScrollableHtmlPanel which allows the use of my own custom scroll bars, everything works great, the Home and End keys do what they should, but programmatically I can't find a way to scroll the panel without setting focus and sending a Home or End key to the control. This works naturally, but has other side effects.
I have a similar control which wraps a RichTextBox, and in that case I was able to implement my own scroll-to methods by using the RichTextBox.Select() method. I'm looking for something similar to HtmlPanel but so far no luck.
Thanks in advance!
P.S. I forgot to add: AutoScroll is set to true...