To support the scroll position capability in Chrome, you need to follow the steps given below:
1. Add the following line of code in the Page_Load of the page for which you want to maintain the scroll position.
Collapse | Copy Code
this.MaintainScrollPositionOnPostBack = true;
2. Right click on the project.
3. Click on “Add” -> “Add New Item”.
4. In the “Add New Item” window, select “Browser File” and click “Add”.
5. Application will ask you to place this file in “App_Browsers” folder, click “Yes”
6. Now add the capability of maintaining the scroll position as follows:
Collapse | Copy Code
<browsers>
<browser refID="Safari1Plus">
<capabilities>
<capability name="supportsMaintainScrollPositionOnPostback"
value="true" />
</capabilities>
</browser>
</browsers>