Hi.
I'm having a difficult time with user controls. I'm developing an
asp.net/vb application that uses multiple forms that change according to
user selections. The main part of the form is a user control (used by all
users) that has a radio list, calendar control, and a text box for time,
and a submit button that is set up for validation on these controls.
The problem I have is that within this user control I have another user
control that only has a single dropdown list and utilizes a component
class .vb file for database connections and code behind to popluate it
with data from a table. After the data is bound to the list I insert 2
items manually ("Please select ....." This has a value of 0, and a blank
space with a value of 1).
I need to validate that the user control with the dropdown list has a
value greater than 1 using a regularexpressionvalidator. I guess I'm not
sure where this validation should take place. I would like to validate
this user control on the parent(if you will) user control. Is this
possible? If so, how would I go about doing it?