Thanks for the props, Mischa :) Also, Raj, if you like the client-side behavior but feel you need to code it yourself (or just want to learn), there are some articles at http://easylistbox.com/listBoxResources.aspx that you can use.
On 12/1/05, Mischa Kroon <[EMAIL PROTECTED]> wrote: > > 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]> > > > 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 [Non-text portions of this message have been removed] ------------------------ 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/
