Using Validators to validate UserControls

Discussion in 'ASP .Net Web Controls' started by Nathan Sokalski, Sep 5, 2008.

  1. 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/
     
    Nathan Sokalski, Sep 5, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ratman
    Replies:
    0
    Views:
    692
    Ratman
    Sep 14, 2004
  2. Fernando Lopes
    Replies:
    4
    Views:
    3,999
    Peter Blum
    Nov 18, 2004
  3. Replies:
    3
    Views:
    588
    Peter Blum
    Feb 23, 2006
  4. Max2006
    Replies:
    3
    Views:
    352
    Steven Cheng[MSFT]
    Jul 18, 2007
  5. Nathan Sokalski

    Using Validators to validate UserControls

    Nathan Sokalski, Sep 5, 2008, in forum: ASP .Net
    Replies:
    0
    Views:
    301
    Nathan Sokalski
    Sep 5, 2008
Loading...

Share This Page