This is a migrated thread and some comments may be shown as answers.

[Solved] SelectListItem Index

0 Answers 18 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 27 Jan 2012, 02:54 PM
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?
Tags
ComboBox
Asked by
John
Top achievements
Rank 1
Share this question
or