2 ways: Clientside and serverside www.easylistbox.com <--- clientside the easy way
http://www.easylistbox.com/demoRelated.aspx <-- example Another way is to do it server side ( page refresh )\ enable autoppostback on the dropdownlist. then use a on selected item changed event on that country dropdownlist to fire up a function to get the states for that country. ----- Original Message ----- From: "ramesh kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 01, 2005 11:14 AM Subject: [AspNetAnyQuestionIsOk] ListBox Control Help needed > Hi All, > > I ve a ListBox control and i ve added some items. > For ex : My listbox1 contains USA,INDIA,CANADA as their items. When the > user selects INDIA i want my second listbox (state) to show the states in > INDIA (karnataka,tamilnadu,andhra pradesh,maharastra) and my third listbox > (city) to show the cities in india (chennai,bangalore,delhi). > > Please tell me how to do it. > > I ve placed some code on ListBox1.SelectedIndexChanged event, but unless > i press the submit button it is not working. > > Thanks > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > [Non-text portions of this message have been removed] > > > > > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/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/
