ajax
-
hi iam using two dropdown lists in my application.one dropdownlist filled with database in pageload.the second dropdown list can fill by select index change of the first dropdownlist using ajax.here the values are displayed .but after selection of the value it will be disappear.how can i show selected value in dropdownlist in asp.net plz help asap. regards venkat
-
hi iam using two dropdown lists in my application.one dropdownlist filled with database in pageload.the second dropdown list can fill by select index change of the first dropdownlist using ajax.here the values are displayed .but after selection of the value it will be disappear.how can i show selected value in dropdownlist in asp.net plz help asap. regards venkat
Are you just usng AJAX, or relying on the Microsoft AJAX library ? When does the value disappear ? Odds are high that when you do a postback, the values, which were not in viewstate, will be lost. You should populate the second list based on the selected index of the first list during a postback.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )