Scrollbar in bottom

2 posts, 0 answers
  1. Donatien
    Donatien avatar
    12 posts
    Member since:
    Jun 2011

    Posted 20 Dec 2011 Link to this post

    Hello,

    I have a radEditor with fix size and I want to know how can I set the vertical scrollbar at bottom on load?

    Thanks for your help.

    Donatien
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Dec 2011 Link to this post

    Hello,

    You can use scrollTo() function. Here is the sample code.
    JS:
    <script type="text/javascript">
     function OnClientLoad(sender, args)
      {        
        sender.get_contentWindow().scrollTo(100,100); // set height here
      }
    </script>

    Thanks,
    Princy.
Back to Top