Returning to a bookmark on a page?

M

Mike Owen

I have got a search button in the middle of a page.
Above the page I have search conditions which the user
can change. Below the button I have a DataGrid that
shows the search results.

When the user click the button, an onclick event is fired
on the server that populates the DataGrid.

When the page re-appears with the search results, it
always appears showing the very top of the page, and the
user then has to scroll down to see the results. Is it
possible to position the page (using a bookmark ?), so
that the bottom of the page, i.e. the search results, are
the first thing a user sees when the results are returned?

Any ideas?


Thanks, Mike.
 
S

Slawek

Try this with your page :

in tag <!--<%@Page ......Codebehind.........Inherits .......%> -->)(at the
beginning od the aspx page) add SmartNavigation = "true" at the end (in
tag). It should work.

Regards
Slawek
 
M

Mike Owen

It does!

What a star!!!


Thanks, Mike.
-----Original Message-----
Try this with your page :

in tag <!--<%
@Page ......Codebehind.........Inherits .......%> -->)(at
the
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top