Click here to Skip to main content
15,886,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I am using a ModalPopupExtender and in Panel, I've 2 dropdownlist.
Select Network : <asp:DropDownList ID="ddlNetwork" width="150px" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlNetwork_SelectedIndexChanged">

Select People : <asp:DropDownList ID="ddlPeople" width="150px" runat="server" >

ddlPeople is loaded depending on selection of ddlNetwork but since its a ModalPopupExtender, the page gets loaded. And without using AutopostBack="true" in ddlNetwork the values in ddlPeople will not get loaded..

How to use this ????
Posted
Comments
bbirajdar 28-Feb-14 2:17am    
Use ajax to call the webmethod and populate DDL on client side....

1 solution

If you're using the ModalPopupExtender, perhaps the cascadingdropdown would be a way forward, since you're using ajaxcrontroltookit in the first place?
http://www.asp.net/ajaxlibrary/ajaxcontroltoolkitsamplesite/cascadingdropdown/cascadingdropdown.aspx
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900