Scrollbar Problem

Posted by Hitesh Gupta on Stack Overflow See other posts from Stack Overflow or by Hitesh Gupta
Published on 2011-01-13T07:48:48Z Indexed on 2011/01/13 7:53 UTC
Read the original article Hit count: 202

Filed under:
|

Hi All,

There is a datagrid on my page which contains a lot of data. When i click on any row , the user is redirected to a page where he can edit the content of that row. But suppose I am at the bottom of page and then if I click on any row, the scrollbar of browser automatically shifts upwards which causes illusion for the user and make him confused if he has clicked on some other row.

Is there any solution to this so that the position of scrollbar does not change after clicking on any data in datagrid.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about .NET