Hi, is it possible to scroll to the bottom of a HTMLPlaceHolder in code?
I am adding to the HTMLSource and the HTMLPlaceHolder always scrolls to the top?
Before I tried to place the HTMLPlaceHolder within a ScrollViewer but then it is impossible to get rid of the HTMLPlaceHolder Scrollbars. I will get a double set of scrollbars. It is no problem to scroll to the bottom of the ScrollViewer.
I tried unsuccessfully to wire this up in the Page_Load event to get rid of the HTMLPlaceHolder scrollbar
(radHtmlPlaceholder1.HtmlPresenter.Children[0] as HtmlElement).SetAttribute("scrolling", "no");
regards,
Olafur
I am adding to the HTMLSource and the HTMLPlaceHolder always scrolls to the top?
Before I tried to place the HTMLPlaceHolder within a ScrollViewer but then it is impossible to get rid of the HTMLPlaceHolder Scrollbars. I will get a double set of scrollbars. It is no problem to scroll to the bottom of the ScrollViewer.
I tried unsuccessfully to wire this up in the Page_Load event to get rid of the HTMLPlaceHolder scrollbar
(radHtmlPlaceholder1.HtmlPresenter.Children[0] as HtmlElement).SetAttribute("scrolling", "no");
regards,
Olafur