Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi to all,
In my module there are two dropdown if i select one dropdown and automatically respective value in another dropdown.how to do in formview.
For example:
Here i have two dropdown country,state here i select india in country dropdown then state automatically load values.


Here i all done in normal form using update panel. but i want to do in formview .kindly help me
Posted
Comments
Tejas Vaishnav 2-Mar-15 10:00am    
What do you mean by formview? can you add more detail? and what you have tried so far?

1 solution

Hi,

I think you are looking for cascading dropdown lists.
Have a look at the following examples. I think these should solve your issue.

http://www.aspsnippets.com/Articles/AJAX-Cascading-DropDownList-using-jQuery-in-ASP.Net.aspx[^]

http://www.ajaxcontroltoolkit.com/CascadingDropDown/CascadingDropDown.aspx[^]

http://www.aspdotnet-suresh.com/2013/10/jquery-cascading-dropdown-list-in-aspnet.html[^]

Hope this helps !! :) :)
 
Share this answer
 

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