This question is locked. New answers and comments are not allowed.
I did a search here looking to see if anyone knew of a way to read the Index of a SelectListItem DropDown Box.
The first Item in my DropDownBox in my MVC View is "Select Date". What I want to do is on the Server side be
able to determine if No selection has been made of a Selection has been made. I am passing the selected Text
via a Model thru a Form Call. So is there a way to pass the Index of a SelectListItem DropDown Box to the Server side?
The first Item in my DropDownBox in my MVC View is "Select Date". What I want to do is on the Server side be
able to determine if No selection has been made of a Selection has been made. I am passing the selected Text
via a Model thru a Form Call. So is there a way to pass the Index of a SelectListItem DropDown Box to the Server side?