|
 |
aspx thread: Validation & ImageButton
Message #1 by "charles baldo" <charlesbaldo@h...> on Mon, 23 Jul 2001 19:55:46
|
|
I have a form that has required field validations on it. I also have an
<asp:ImageButton/> on the form the image button calls a sub that does a
Response.Redirect(). The problem is my validation controls wont let me go
forward. Seeing as you can only have 1 <form runat=server/> how can I do
this, I thought of puting spaces in the fields but there must be a more
elegant way of doing this.
Chuck
Message #2 by "Mats Boberg" <mats.boberg@n...> on Tue, 24 Jul 2001 09:22:26 +0200
|
|
There is an attribute on <asp:ImageButton> that is called
CausesValidation. Just set it to false and i hope your
problem is solved.
Mats Boberg.
-----Original Message-----
From: charles baldo [mailto:charlesbaldo@h...]
Sent: den 23 juli 2001 21:56
To: ASP+
Subject: [aspx] Validation & ImageButton
I have a form that has required field validations on it. I also have an
<asp:ImageButton/> on the form the image button calls a sub that does a
Response.Redirect(). The problem is my validation controls wont let me go
forward. Seeing as you can only have 1 <form runat=3Dserver/> how can I do
this, I thought of puting spaces in the fields but there must be a more
elegant way of doing this.
Chuck
---
|
|
 |