Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Using Validators to validate UserControls (http://www.velocityreviews.com/forums/t780769-using-validators-to-validate-usercontrols.html)

Nathan Sokalski 09-05-2008 01:29 PM

Using Validators to validate UserControls
 
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
njsokalski@hotmail.com
http://www.nathansokalski.com/




All times are GMT. The time now is 02:22 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57