kevinq Posted September 4, 2003 Posted September 4, 2003 Hi, I have a datagrid which displays several fields of a database table. At the end of each line in the datagrid I have a button (buttoncolumn) which when clicked displays all the fields for this record at the bottom of the page. What I am trying to do is when the user clicks to view the full details, the page jumps to the bottom of the page to display the data. I have placed an anchor where the data is displayed but I don't know how to jump to the anchor. Can anyone help??? Thanks. Quote
LostProgrammer Posted September 4, 2003 Posted September 4, 2003 try using javascript by adding a function to the attributes collection of the button. then using the control on the page you should be able to cntrlName.scrollintoview. this should at least get you started. -lp Quote
Moderators Robby Posted September 4, 2003 Moderators Posted September 4, 2003 Or you can disable SmartNavigation for that page Quote Visit...Bassic Software
Cassio Posted September 5, 2003 Posted September 5, 2003 Disableing SmartNavigation will take him to the bottom of the page? Quote Stream of Consciousness (My blog)
LostProgrammer Posted September 5, 2003 Posted September 5, 2003 Disabling SmartNavigation will always return to the top of the page. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.