The simplest way to achieve this is to use the SmartNavigation. To use it, add the SmartNavigation="true" to your page directive: <%@ Page language="C#" SmartNavigation="true" %> SmartNavigation not only allow you to retain focus on post back, but also to retain the scroll position. This is quite a handy attribute to allow user to have a good user experience.
1 answers
The simplest way to achieve this is to use the SmartNavigation. To use it, add the SmartNavigation="true" to your page directive:
<%@ Page language="C#" SmartNavigation="true" %>
SmartNavigation not only allow you to retain focus on post back, but also to retain the scroll position. This is quite a handy attribute to allow user to have a good user experience.
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!