By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,364 Members | 1,272 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,364 IT Pros & Developers. It's quick & easy.

Mutliple Drop down list boxes

P: n/a
Ami
Hi All
Can someone help me how to code Multiple drop down listboxes, like
Country code and associated state codes.
When I select a particular country, only states that belong to that
country must be populated. Please help. Right now I have 2 countries
that contains distinct states for each of
them.

Regards
Ami.

Aug 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ami,

There are many ways to do that.

1) you can set the AutoPostback property of the first dropdown to true and
then write the code (to populate the second dropdown) in the
firstdropdown_selectedindexchanged event

2) you can use ajax to do the same thing (without posting back to server)

check out http://support.microsoft.com/kb/8269...515&sid=global

Regards,
Augustin
http://augustinprasanna.blogspot.com

"Ami" wrote:
Hi All
Can someone help me how to code Multiple drop down listboxes, like
Country code and associated state codes.
When I select a particular country, only states that belong to that
country must be populated. Please help. Right now I have 2 countries
that contains distinct states for each of
them.

Regards
Ami.

Aug 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.