Hai friends,
I am beginner to MVC.
I am working on Dropdownlist in MVC.
I have added 5 items to dropdownlist using selectlist object.
How to print the selected text from dropdownlist in MVC, like selectedindexchanged event in asp.net?
For Ex:
I am having following Items in my dropdownlist:
First
Second
Third
Fourth
when the user selects "second".
It should display on the form as : "You have selected second".
Please solve this problem.... Thank you friends.