Using Validators to validate UserControls

  • Thread starter Nathan Sokalski
  • Start date
N

Nathan Sokalski

I have a UserControl that contains Controls I want to validate. I am
attempting to write a class that inherits BaseValidator (which I have done
many times before for the standard controls such as TextBox) to do this
validation. I have added properties to my UserControl that make the
properties necessary to do validation available, so everything I need is
available once i have access to the UserControl. However, I am having
trouble doing this. Could somebody either direct me to a site that helps
with creating validators for UserControls (and other controls not supported
by the Validators by default), or maybe give me an example? Thanks.

Nathan Sokalski
(e-mail address removed)
http://www.nathansokalski.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top