I need to verify the selection in a dropdown list control is not a certain value. It is in the edit mode of a formview.
just to verify that I could access it I tried to put the value in a label, however it is always empty:
this is what I used
'Dim droplist5 As DropDownList = DirectCast(FormView1.Row.FindControl("DropDownList5"), DropDownList)
LabelHeaderwarning.Text = droplist5.SelectedValue.ToString
I also tried the validation controls but they don't seem to work with a drop down control.
Any suggestions on this would be extremely helpful
View Complete Post