How to Retain scroll position after postback [Resolved]

Posted by Sharadgupta2110 under Regular Expressions on 11/16/2010 | Points: 10 | Views : 5386 | Status : [Member] | Replies : 1
How to Retain scroll position after postback in asp.net, i am using IE8

thanks in advance...

Sharad Gupta


Responses

Posted by: SheoNarayan on: 11/16/2010 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Try to use MaintainScrollPositionOnPostback="true" in the page directives of your .aspx page.

<%@ Page MaintainScrollPositionOnPostback="True" %>


Look at the live example http://www.dotnetfunda.com/tutorials/controls/gridview.aspx

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Sharadgupta2110, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response