Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Using Validators to validate UserControls

Reply
Thread Tools

Using Validators to validate UserControls

 
 
Nathan Sokalski
Guest
Posts: n/a
 
      09-05-2008
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

http://www.nathansokalski.com/


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Validators to validate UserControls Nathan Sokalski ASP .Net 0 09-05-2008 01:29 PM
The best way to validate UserControls Max2006 ASP .Net 3 07-18-2007 01:34 PM
Validators on dynamic UserControls rgparkins@hotmail.com ASP .Net 3 02-23-2006 04:37 PM
Validate a ListBox using validators inside a usercontrol Fernando Lopes ASP .Net 4 11-18-2004 05:50 PM
Regular Expression validators NOT working, Required Field validators ARE working Ratman ASP .Net 0 09-14-2004 09:36 PM



Advertisments