AutoPostBack send my page back to the top, how do you fix that?

  • Thread starter Thread starter SD
  • Start date Start date
S

SD

Hi,

I have a asp.net (vb) that has a lot of fields and somewhere in the bottom
of the page I have a RadioButtonList with AutoPostBack set to true so we can
enable/disable other controls.

The problem is that when this happens the user is sent to the beginning of
the page and needs to scroll down, it's a pain!

How can you set a marker or how do you control this behavior so that it goes
back to where the user was before he/she clicked the button list?

Thanks for your help!

SD
 
SD said:
Hi,

I have a asp.net (vb) that has a lot of fields and somewhere in the bottom
of the page I have a RadioButtonList with AutoPostBack set to true so we can
enable/disable other controls.

The problem is that when this happens the user is sent to the beginning of
the page and needs to scroll down, it's a pain!

How can you set a marker or how do you control this behavior so that it goes
back to where the user was before he/she clicked the button list?

Thanks for your help!

SD

You will have to use javascript to do this. I don't know the command to
jump down the page off the top of my head, but you'll have to mark each
radiobutton and then use the javascript command to make the jump.

Chris
 

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

Back
Top