Click here to Skip to main content
15,905,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created 3 controllers namely country controller, state controller and property main controller and their corresponding views. i added values in country and states.
i want to get state according to country in my propertymain view. How can i implement this using mvc3 razor application? can anyone help me?
Posted
Updated 19-Jul-11 0:22am
v4
Comments
uttam2010 19-Jul-11 3:38am    
I hope that this links help u..
http://www.asp.net/ajaxlibrary/HOW%20TO%20Use%20the%20CascadingDropdown%20Control.ashx
Aswathi Narayan 19-Jul-11 5:41am    
that link is not working

I think you could have done all method in a single controller. No need to take 3 controller for this issue.

I would suggest you to go with jQuery and Bind data through JSON.

-Sagar
 
Share this answer
 
Check out following :

Using JSON in MVC[^]

-Sagar Solanki
 
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