I am working on asp.net mvc3 using ado.net asynchronous concept
I have written country dropdown as following
I have another two dropdownlists- statedropdown and citydropdown
I want to fill statedropdown based on countryId
I want to fill citydropdown based on stateId
My state controle action
public ActionResult GetStatesCompleted(IList
{
//Up to here I am getting states list, what I have to write here for return states to view
}
Can you anyone tell me how to write controle and view to do this
Thankyou for advance...
Anuja PawarPosted Dec 27, 2011, 6:41 AM
http://stackoverflow.com/questions/7864554/asp-net-mvc3-modelbinding-issue-getting-values-of-dropdowns-into-the-model
http://www.codeproject.com/Answers/297016/How-to-fill-second-drop-down-on-the-click-of-first.aspx#answer2
and this is in VB, still can help you
http://www.codeproject.com/Answers/237577/MVC3-VB-not-Csharp-Cascading-DropDown-Country-to-s.aspx#answer1
Nitish kumarPosted Apr 25, 2012, 2:28 AM
I am also new for MVC but its a logical problem of Raja not a coding problem.
So be logical not copy cat of anyone.
Nitish
raja rameshPosted Jan 2, 2012, 5:25 AM
In my application After updating user his profile data - next time User login to his account, in that time I want to display his default profile data into his profile page.
In this situation I unable to display user default data in dropdownlist
Can you tel me anyone how to see user default data after update his profile. Thank you for advance...
Anuja PawarPosted Jan 2, 2012, 5:21 AM