开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜