Click here to Skip to main content
15,908,013 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have create dynamic controls and added it in panel control which exits inside a update panel ,i have done calculations with every dynamic controls textchange event but my problem is when it get postback i lost the focus from the panel and page get scroll up,i like to maintain my current page position where i am ,hope my question is right .
Thanks
Posted
Updated 26-Jan-12 2:22am
v2

1 solution

Yes, the page has a property called MaintainScrollPositionOnPostback. Set that to true. http://msdn.microsoft.com/en-us/library/system.web.ui.page.maintainscrollpositiononpostback.aspx[^]
 
Share this answer
 
Comments
Amir Mahfoozi 26-Jan-12 8:23am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900