Validators in a user control

Discussion in 'ASP .Net Building Controls' started by Geir Sanne, Jun 15, 2004.

  1. Geir Sanne

    Geir Sanne Guest

    ive made a usercontrol with some textboxes.
    ive added some required field validators to the textoxes.

    i made a page with a button and my user control.

    when i click the button, how can i make the validators check the textboxes ?
     
    Geir Sanne, Jun 15, 2004
    #1
    1. Advertising

  2. Geir Sanne

    Fritz Guest

    Geir Sanne wrote:

    > ive made a usercontrol with some textboxes.
    > ive added some required field validators to the textoxes.
    >
    > i made a page with a button and my user control.
    >
    > when i click the button, how can i make the validators check the textboxes
    > ?

    Make sure that the client scripting is enabled. Otherwise, the validations
    would be done at the server only.
     
    Fritz, Jun 18, 2004
    #2
    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. Peter Blum

    Re: Validators on a User control

    Peter Blum, May 10, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    869
    Peter Blum
    May 10, 2004
  2. Dot net work
    Replies:
    4
    Views:
    540
    Dot net work
    Jun 16, 2004
  3. Ratman
    Replies:
    0
    Views:
    676
    Ratman
    Sep 14, 2004
  4. Mad Scientist Jr
    Replies:
    0
    Views:
    659
    Mad Scientist Jr
    Mar 22, 2006
  5. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    566
    Jonathan Wood
    Feb 2, 2010
Loading...

Share This Page