Using validators on custom controls

Discussion in 'ASP .Net Web Controls' started by shodson@gmail.com, Jun 24, 2005.

  1. Guest

    I know how to use validators on the <asp:___> server controls.

    Now I have created my own server controls. How can I use the standard
    ASP.NET validator controls to validate my custom control? For example,
    if I have a RequiredFieldValidator, and I want to set it's
    ControlToValidate property to one of my custom controls, how can they
    be tied together? How does the RequiredFieldValidator know how to
    validate my custom control?
    , Jun 24, 2005
    #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. Dot net work
    Replies:
    4
    Views:
    531
    Dot net work
    Jun 16, 2004
  2. Ratman
    Replies:
    0
    Views:
    653
    Ratman
    Sep 14, 2004
  3. =?Utf-8?B?TFU=?=
    Replies:
    3
    Views:
    593
    Lucas Tam
    Mar 30, 2005
  4. =?Utf-8?B?TWlndWVsIElzaWRvcm8=?=

    Creating Validators in Custom ASP.NET Server Controls

    =?Utf-8?B?TWlndWVsIElzaWRvcm8=?=, Jul 27, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    460
    Teemu Keiski
    Jul 27, 2006
  5. rodchar
    Replies:
    0
    Views:
    393
    rodchar
    Nov 26, 2007
Loading...

Share This Page