|
-
Aug 8th, 2003, 10:42 PM
#1
Thread Starter
Lively Member
Postback Anchor *RESOLVED*
Is there a way to scroll to a specific location on a page after a postback?
This is the way I was thinking of implementing it...
After a user clicks a button on my page, the page is redirected to an anchor that is located above a specified row in a datagrid on the same page. Basically I want a user to be able to add a row in a datagrid (that may not be seen on the screen at the time) and then show that it is indeed added to the datagrid... instead of the postback automatically taking the user to the top of the page (where the row that has been added may be out of view).
Is there a better way of doing this?
Last edited by PedroDePacos; Aug 14th, 2003 at 10:51 AM.
-
Aug 14th, 2003, 03:44 AM
#2
Addicted Member
yes,
just turn on smartnavigation in your @ Page derective
<%@ Page SmartNavigation=true %>
-
Aug 14th, 2003, 10:45 AM
#3
Thread Starter
Lively Member
Resolved
Thanks for the suggestion, but doesn't smartnavigation just scroll to the position that you were at?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|