Hi there! Happy new year.
I'm having this problem with my datagrid, When I scroll to update a Value, I press edit But it scrolls back itself Back up. How can I keep it in one position When I'm Editing? I mean Even when I want t Edit the 100th Column.
PostBack!
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jim Van Dick16 reputationPosted Jan 3, 2007, 4:04 AM EST
See below:
<%
@ Page Language="c#" Inherits="GlobalCrossing.ODS.NOPCreation.CCircuitGridviewList" CodeFile="CircuitGridViewList.aspx.cs" MaintainScrollPositionOnPostback="true" %>Ndayahundwa Claude41 reputationPosted Jan 3, 2007, 7:40 PM EST
I got an error saying that MaintainScrollPositionOnPostback is invalid.
Dipal ChoksiRank #199 · 12K reputationPosted Jan 3, 2007, 11:36 PM EST
MaintainScrollPositionOnPostback is available only in ASP.Net 2.0 onwards.. Are you using a prior version?
If you are using ASP.Net 1.x, you can try using SmartNavigation.
Another approach is also described here:
http://authors.aspalliance.com/aldotnet/examples/dgautoscroll.aspx
Hope this helps...
Ndayahundwa Claude41 reputationPosted Jan 4, 2007, 2:20 AM EST
It has worked properly....
regards