How to auto-scroll to the bottom of a DevExpress.Web.ASPxHtmlEditor control?
I have been wrestling with this for hours and just can't make it work. I'm using an ASPxHtmlEditor to display (in Preview mode) a dynamically constructed table (that is increasing its rows over the time). I need the con开发者_Python百科trol to be scrolled always on the bottom of the table. I have tried using this:
<script type='text/javascript'>window.scrollTo(0, document.body.offsetHeight);</script>
It works on a web page (or a Web Form) but not inside the HTML code in the control. Any help will be much appreciated.
I would use the following bit of code: http://www.devexpress.com/Support/Center/p/Q207598.aspx
精彩评论