How to maintain scroll position on postback?

  •  07-05-2007, 11:55 PM

    How to maintain scroll position on postback?

    Whenever a postback occurs, the current cursor position is lost and the returned page jumps to the top of the text. How do we maintain the scroll position and the cursor pos on postback?
     
    For example, suppose there are 100 lines in the editor and I'm currently at line 90. When I trigger a postback, the content of the editor starts again at the top instead of scrolling down to line 90 and placing the cursor where it was..
     
    Is there an example?
View Complete Thread