|
 |
aspx thread: Stopping client side validation
Message #1 by "Michael Gaertner" <mgaert@b...> on Wed, 27 Dec 2000 18:08:50 -0000
|
|
I have two buttons in a form, one to "submit," basically run some code,
and one to "close, no save," to send the user back to the default page.
The buttons necessarily are inside a form tag, so they both cause a form
submit. I don't want to perform the validation on "close, no save." Is
there a way to do this WITHOUT using <%@ Page ClientTarget=DownLevel %>?
Thanks.
---
http://www.asptoday.com - the leading site for timely,
in-depth information for ASP developers everywhere.
---
You are currently subscribed to aspx as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-aspx-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by Krishnakant Baderia <krishnabaderia@s...> on Thu, 28 Dec 2000 14:22:46 +0530
|
|
hi,
following script may help you....
<input type=button value="Cancel"
onclick="document.location.href='default.htm'">
krishna
-----Original Message-----
From: Michael Gaertner [mailto:mgaert@b...]
Sent: Wednesday, December 27, 2000 11:39 PM
To: ASP+
Subject: [aspx] Stopping client side validation
I have two buttons in a form, one to "submit," basically run some code,
and one to "close, no save," to send the user back to the default page.
The buttons necessarily are inside a form tag, so they both cause a form
submit. I don't want to perform the validation on "close, no save." Is
there a way to do this WITHOUT using <%@ Page ClientTarget=DownLevel %>?
Thanks.
---
http://www.asptoday.com - the leading site for timely,
in-depth information for ASP developers everywhere.
---
You are currently subscribed to aspx as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-aspx-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Jacques Leclerc" <jleclerc2@h...> on Thu, 28 Dec 2000 11:25:39 -0500
|
|
Here's a URL to an excellant article on validation. It should have the
information that you are looking for.
http://msdn.microsoft.com/library/techart/aspplusvalid.htm
Jacques
jacques_leclerc@h...
"Michael Gaertner" <mgaert@b...> wrote in message
news:27620@a...
>
> I have two buttons in a form, one to "submit," basically run some code,
> and one to "close, no save," to send the user back to the default page.
> The buttons necessarily are inside a form tag, so they both cause a form
> submit. I don't want to perform the validation on "close, no save." Is
> there a way to do this WITHOUT using <%@ Page ClientTarget=DownLevel %>?
>
> Thanks.
>
---
http://www.asptoday.com - the leading site for timely,
in-depth information for ASP developers everywhere.
---
You are currently subscribed to aspx as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-aspx-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #4 by "Michael Gaertner" <mgaert@b...> on Thu, 28 Dec 2000 10:03:26 -0500
|
|
Thanks! That's what I ended up doing, just circumventing the server code
entirely.
-----Original Message-----
From: Krishnakant Baderia [mailto:krishnabaderia@s...]
Sent: Thursday, December 28, 2000 3:53 AM
To: ASP+
Subject: [aspx] RE: Stopping client side validation
hi,
following script may help you....
<input type=button value="Cancel"
onclick="document.location.href='default.htm'">
krishna
-----Original Message-----
From: Michael Gaertner [mailto:mgaert@b...]
Sent: Wednesday, December 27, 2000 11:39 PM
To: ASP+
Subject: [aspx] Stopping client side validation
I have two buttons in a form, one to "submit," basically run some code,
and one to "close, no save," to send the user back to the default page.
The buttons necessarily are inside a form tag, so they both cause a form
submit. I don't want to perform the validation on "close, no save." Is
there a way to do this WITHOUT using <%@ Page ClientTarget=DownLevel %>?
Thanks.
---
http://www.asptoday.com - the leading site for timely,
in-depth information for ASP developers everywhere.
---
You are currently subscribed to aspx as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-aspx-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |