Position in Page after a "Submit"

P

Paul

I'm just in the process of developing a web server component and have come
up against one final problem. It's like a data grid in that it displays
rows of data - which can be edited / updated in-line. The edit / update
buttons are child ASP:button controls. I have all the functionality working
as I intended, however whilst the data / screen layout is updated
accordingly when you click a page, the page itself is redisplayed at the top
of the document (so you lose your position in the html page and have to
scroll back down). Is there a way to programmatically update the position
within the page, or do you have to define Href anchor points within your
component and modify the form post location accordingly in the client side
javascript/vbscript that is output by the ASP:button (which i guess would
require me to override / modify the ASP:button as well). Any hints / tips
would be greatly appreciated.

Regards,

- Paul.
 
S

Steve C. Orr [MVP, MCSD]

P

Paul

That's great, thanks for the help. Thanks also for not pointing out that
I'd forgotten to add which version of DotNet I was using (it was 2.0).
 

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,268
Messages
2,571,095
Members
48,773
Latest member
Kaybee

Latest Threads

Top