ComponentOne ToolBar for ASP.NET AJAX: ToolBar Behavior > Validation

Validation

You can trigger whether or not the ASP.NET page validation when the item is clicked using the CausesValidation property.

By default, a C1ToolBar control does not cause page validation when the item of the control is clicked. To set the C1ToolBar control to validate when a postback occurs, set the CausesValidation property to true and the AutoPostBack property to true. 

You can specify or determine whether validation is performed on both the client and the server when a C1Toolbar control’s item is clicked by using the CausesValidation property. To prevent validation from being performed, set the CausesValidation property to false.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.