Drop down list selected index event in asp.net mvc 4.0 with postback ….
I want to retiain the selected value in dropdown list …
my requirement is i had three drop down list in view…in need the selected values for threee drop downs
in any action ….
can u help the same as soon as possilble…
Key point is that we should not use
any javascript to get thisAnother point i want all this in the
controller itself
What we generally do is, populate a property (Selected) in the controller and when iterating through the items in the view , check for that property to preserve the selected item as shown below.