Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web grd
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01177753
Message ID:
01177951
Views:
9
>Rick,
>
>>First Question: I am using mmGridView on a web page to allow editing of items. The user is scrolling down the page because there are more items in the grid than fit at the top. The user edits a row and clicks on Update. The web page goes back up to the top of the page. Is there any way to keep the focus on the row that was just edited?
>
>I'm not sure how to do this...I typically recommend that developers use one of the third party grids that allows scroll bars (unlike MS's control!). This is a general ASP.NET question, so you may want to post that in the ASP.NET section of the UT.
>
>>Last Question: When should I use the mmGridView and when should I use the mmDataGrid? Is one primarily for editing and one primarily for viewing?
>
>The DataGrid is an old-style ASP.NET 1.x control. You should abandon it and use the GridView which is for ASP.NET 2.0.
>
>Best Regards,

Hello Kevin:

By changing the web.config as follows, the problem with going to the top of the grid is "fixed":
Was: <pages>
Now: <pages maintainScrollPositionOnPostBack="true"> 
Rick
Richard DeZeeuw
DeZeeuw Software Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform