I cannot make the validation work on a drop down list, and the other posting I have found offer suggetions that I cannot get to work. I am new to ASP.NET, so maybe I am missing something totally obvious.
Here's the code to populate the DDL:
DBCommand = New OleDbDataAdapter("Select ConsultantID, Name from user_consultants Order By name", DBConn)
ddlConsultants.DataSource = DSconsultants.Tables("consultants").DefaultView
ddlConsultants.Items.Insert(0, new ListItem("Please Select", 0))
This grabs the data and then adds a "Please Select" line. This part works great. Here's my DDL and validation code:
text="Please select the Action Item owner."
As soon as I select ANY item in the list the validation fires the error message.
I have wasted enough time fighting it, so I am leaving it to the experts.