Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to submit an invalid form

Reply
Thread Tools

How to submit an invalid form

 
 
Jake
Guest
Posts: n/a
 
      08-11-2003
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
 
Reply With Quote
 
 
 
 
Steve C. Orr, MCSD
Guest
Posts: n/a
 
      08-11-2003
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert form to submit on load instead of clicking submit button? Network-Man HTML 5 07-07-2012 12:06 PM
submit 1 form to 2 servers or 2 forms to 2 server (1 form each) on 1 submit abansal.itp@gmail.com Javascript 3 06-23-2007 07:29 AM
Forms with multiple submit buttons vs 'form' objects with single 'submit' methods neil.fitzgerald@ic.ac.uk Python 4 04-14-2006 04:58 PM
IE form.submit() proudces invalid syntax error Bradley Kite Javascript 4 03-23-2005 11:52 PM
submit the form data to the popup window without a submit button jrefactors@hotmail.com HTML 2 01-01-2005 06:07 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57