Once again, Imar, you are my hero! It is a requirement that the users be
using IE 5.
Thanks again!
Stephanie
-----Original Message-----
From: Imar Spaanjaars [mailto:Imar@S...]
Sent: Wednesday, January 08, 2003 9:37 AM
To: ASPX_Professional
Subject: [aspx_professional] Re: Datagrid row not positioning right on
edit
Hi Stephanie
Have you tried Smart Navigation? This is an IE only thingy, and requires
some client-side JavaScript. You'll find the files in the
aspnet_client\system_web folder under the root of your site.
All you need to do is set smartNavigation to True in the Properties panel
for your ASPX page, or add:
smartNavigation="True"%
to your page directive if you are not using VS.NET.
Smart navigation will reload a page and then put it back in the position
where it was when a user clicked a button, a link etc.
The opinions about how it works seem to differ, so I can't guarantee it
will work, but you can always try it out.
Check out the following URL for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwebuipageclasssmartnavigationtopic.asp
Alternatively you could implement "paging" so each screen holds a limited
number of records, and has a "next" and "previous" link to navigate through
the data.
HtH
Imar
At 08:48 AM 1/8/2003 -0800, you wrote:
>I asked in the aspx_beginners and didn't get any help. Hopefully, someone
>here can help.
>
>I have a datagrid displaying more rows than the window has, therefore the
>user has to scroll. This is OK. If the user chooses to 'Edit' a row on
the
>'second' page of data, when the edit row is displayed, the datagrid is
>positioned at the top.
>
>How do I get it to display at the row the user chose to edit?
>
>In advance, thanks!
>Stephanie