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.
Loading
Ndayahundwa ClaudePosted Jan 4, 2007, 7:20 AM
It has worked properly....
regards
Dipal ChoksiPosted Jan 4, 2007, 4:36 AM
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 ClaudePosted Jan 4, 2007, 12:40 AM
I got an error saying that MaintainScrollPositionOnPostback is invalid.
Jim Van DickPosted Jan 3, 2007, 9:04 AM
See below:
<%
@ Page Language="c#" Inherits="GlobalCrossing.ODS.NOPCreation.CCircuitGridviewList" CodeFile="CircuitGridViewList.aspx.cs" MaintainScrollPositionOnPostback="true" %>