How can i get the values of a dropdown list which is populated using AJAX - TechRepublic
Question
November 5, 2007 at 08:04 PM
smart_am80

How can i get the values of a dropdown list which is populated using AJAX

by smart_am80 . Updated 18 years, 7 months ago

Hi,

I have a gridview in which there are 5 template columns each containing a dropdownlist. When the aspx page is loaded first three of the dropdownlist are populated from database. Then I have onchange() javascript event on each of the first three dropdownlist. when user selects all of the first three values, then using ajax i populate the fourth and fifth dropdown list. Now my problem is that when user selects values for all the dropdownlists, then after clicking on submit button i have to write all selected values in some xml file. But i am not able to retrieve the values of the dropdownlist which is populated using ajax in code behind. Any help would be appreciated. Thanks in advance.

This discussion is locked

All Comments