How to submit an invalid form

Discussion in 'ASP .Net' started by Jake, Aug 11, 2003.

  1. Jake

    Jake Guest

    Hi,

    I have an edit page that contains both as edit and delete
    button. When the user clicks delete I do not want the
    page to be validated, so even if the data is invalid the
    record can still be deleted.

    Is there a way to disable the validation when the delete
    button is clicked, without setting the
    clientTarget="downlevel"

    Thanks in advance

    Jake
    Jake, Aug 11, 2003
    #1
    1. Advertising

  2. Simply set the CausesValidation property of your Delete Button to false.

    --
    I hope this helps,
    Steve C. Orr, MCSD
    http://Steve.Orr.net


    "Jake" <> wrote in message
    news:186501c35fab$c033c350$...
    > Hi,
    >
    > I have an edit page that contains both as edit and delete
    > button. When the user clicks delete I do not want the
    > page to be validated, so even if the data is invalid the
    > record can still be deleted.
    >
    > Is there a way to disable the validation when the delete
    > button is clicked, without setting the
    > clientTarget="downlevel"
    >
    > Thanks in advance
    >
    > Jake
    Steve C. Orr, MCSD, Aug 11, 2003
    #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. Replies:
    2
    Views:
    6,163
  2. Network-Man
    Replies:
    5
    Views:
    78,204
    gaul1
    Jul 7, 2012
  3. Replies:
    4
    Views:
    886
  4. Bradley Kite

    IE form.submit() proudces invalid syntax error

    Bradley Kite, Jan 7, 2005, in forum: Javascript
    Replies:
    4
    Views:
    347
    montek
    Mar 23, 2005
  5. Replies:
    3
    Views:
    651
Loading...

Share This Page