T
ticketdirector
I have created a user control containing a drop down list box. I want
to be able to put this user control onto a page along with a validator
control. The problem is, the validator doesn't see the usercontrol as
a "validatable" object. I don not want to include the validator in the
user control because then the type of validator, and its location with
respect to the ddlb, is fixed (unless I do more coding to try and
accomodate all possible configurations, which I don't want to do).
I have tried various ways of making this work over the last 2 days
without success. This seems to me a bit ridiculous that this isn't as
easy as Page.RegisterControlForValidation() or something along those
lines.
Has anyone ever figures out a way around this problem?
Any help is much appreciated.
to be able to put this user control onto a page along with a validator
control. The problem is, the validator doesn't see the usercontrol as
a "validatable" object. I don not want to include the validator in the
user control because then the type of validator, and its location with
respect to the ddlb, is fixed (unless I do more coding to try and
accomodate all possible configurations, which I don't want to do).
I have tried various ways of making this work over the last 2 days
without success. This seems to me a bit ridiculous that this isn't as
easy as Page.RegisterControlForValidation() or something along those
lines.
Has anyone ever figures out a way around this problem?
Any help is much appreciated.