ASP.NET CausesValidation Property
Complete ImageButton Control Reference
Definition and Usage
The CausesValidation property specifies if a page is validated when a ImageButton
control is clicked.
Page validation is performed when a button is clicked by default.
This property is mostly used to prevent validation when a cancel or reset
button is clicked.
Syntax
<asp:ImageButton CausesValidation="TRUE|FALSE" runat="server" />
|
Example
The following example removes validation when an ImageButton is clicked:
<form runat="server">
<asp:ImageButton id="button1" runat="server"
CausesValidation="FALSE" ImageUrl="img.gif" />
</form>
|
Try-It-Yourself Demos
Set the CausesValidation for an ImageButton control to False
Complete ImageButton Control Reference
 |
 |
 |
 |
|
The Ektron Intranet
lets you do everything you need to do on your corporate intranet and everything you want to do... all with just one application.
What can you do with the Ektron Intranet? |
 |
Navigate through content, documents, assets, colleagues and workgroups quickly and intuitively with enterprise search |
 |
Communicate with friends and colleagues with forums, message boards and corporate blogging using the new Social Networking Platform |

|
Utilize the extensive out-of-the box features or customize your site through Ektron CMS400.NET's open architecture |
 |
Promote collaboration in your organization through project workspaces where others can efficiently find information and work together |
 |
Author/edit content, manage navigation, menus, audit trails, workflow and approvals with the best in breed Content Management |
|
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
|
|
 |
TAKE THE VIDEO TOUR |
 |
or download a FREE TRIAL today. |
|