Hi All,
 
I have a series of dropdown box on the middle of a web page. When I select
an item it is to populate the next dropdown box. This works well, however on
the postback the page go to the top and I have to scroll down to the
dropdowns. My question is is there a way to get back to the dropdown boxes
on the postback?
 
I have tried using an anchor and in the vb code using a
response.redirect("page.aspx#anchor"), it brings me back to the dropdowns,
but they are not populating. I think it has to do with the dropdown being
populated in the code using items.add("item") method. For example
 
select case dropdown0.SelectedValue
    case 1
        dropdown1.Items.Add("item1")
        dropdown1.Items.Add("item2")
        dropdown1.Items.Add("item3")
    case 2
        dropdown1.Items.Add("item1") 
        dropdown1.Items.Add("item2")
        dropdown1.Items.Add("item3")
end select
response.redirect("page.aspx#anchor")
 
Any help is appreciated.

Gregory D. Fox
Liberty Web Hosting & Design
 <mailto:[EMAIL PROTECTED]> LibertyHosting.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Providing Internet Solutions Since 1996
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to