<input type="button" .... won't stop from submitting even the validation is falied?

Discussion in 'ASP .Net' started by baroque Chou, Jan 24, 2006.

  1. baroque Chou

    baroque Chou Guest

    I add validation control to my page, but it seems it dosn't work using
    input. is it true?
     
    baroque Chou, Jan 24, 2006
    #1
    1. Advertising

  2. baroque Chou

    Maarten Guest

    That is correct.
    validation control is a server control while input type button is a
    client-side control.
    So or write client-side validation code or use the server-side button with
    custom validator.

    Hope this helps.

    "baroque Chou" <> wrote in message
    news:...
    >I add validation control to my page, but it seems it dosn't work using
    > input. is it true?
    >
     
    Maarten, Jan 24, 2006
    #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. =?Utf-8?B?ZGh1cndpdHo=?=
    Replies:
    1
    Views:
    463
    Teemu Keiski
    Apr 10, 2004
  2. Chad
    Replies:
    4
    Views:
    8,346
  3. Stan Goodman

    Even older fart, even newer newbie

    Stan Goodman, Jul 3, 2003, in forum: Java
    Replies:
    11
    Views:
    703
    Stan Goodman
    Jul 4, 2003
  4. Phil
    Replies:
    2
    Views:
    5,070
  5. Lei Jiang
    Replies:
    6
    Views:
    171
    Lei Jiang
    Jul 7, 2004
Loading...

Share This Page