scoll down a page to a certain position when reload the page

G

Guest

Hi, all:
I am using ie6 and vb.net developing the web site.

on one .aspx page , we have several radio buttons( we did not use radio
button list), only one of these button can be seleted. so I uesed on button
checked change event to contro all those buttons.( these button have set to
be autopostback=true),when I click on one button, the page will auto postback
and go to the top of the page, How can I scoll down the page to the position
where the button is, cause some buttons are at the bottom of the page. (we
are not allowed to use ancore) . I know javascript can solved the problem,
but how?

Thanks.
 
C

Craig Deelsnyder

Hi, all:
I am using ie6 and vb.net developing the web site.

on one .aspx page , we have several radio buttons( we did not use radio
button list), only one of these button can be seleted. so I uesed on
button
checked change event to contro all those buttons.( these button have set
to
be autopostback=true),when I click on one button, the page will auto
postback
and go to the top of the page, How can I scoll down the page to the
position
where the button is, cause some buttons are at the bottom of the page.
(we
are not allowed to use ancore) . I know javascript can solved the
problem,
but how?

Thanks.

One approach

http://aspalliance.com/356

have not tried it myself this way. Here's what I'm used to doing (see 3rd
post, you'd have to substitute in the appropriate .net code):

http://forums.aspfree.com/archive/t-39927/How-to-keep-the-focus-after-a-postback-in-a-aspnet-form-
 

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
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top