Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

I am using two Dropdown List.now i want to update the second dropdown on the index change of first one with out reloading the page.any one who can help meeeeee
Posted
Comments
Naresh Pansuriya 7-Dec-13 2:08am    
you can use update panel for aame

try with the help of ajax update panel.
XML
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <asp:DropDownList runat="server">
        </asp:DropDownList>
    </asp:UpdatePanel>


for more information reply, I hope are your problem as been solve.
 
Share this answer
 
v2
Comments
Prasaad SJ 11-Dec-13 22:09pm    
What jogider said is good solution. You just have to put all the dropdown under the single update Panel and you write the necessary code like selecting index change for the dropdown etc, It would work exactly what you needed(I think)
U can take the help of Jquery as well. It's easy to understand...
Please ask for further discussions??
 
Share this answer
 
ASP.NET
<asp:scriptmanager id="ScriptManager1" runat="server"
    </asp:scriptmanager>
  <asp:updatepanel id="up12" runat="server">
  <contenttemplate>
        <asp:dropdownlist runat="server">
        </asp:dropdownlist>
     </contenttemplate>
   </asp:updatepanel>

use this one it will help you
 
Share this answer
 
v3

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