asp.net.ph

ListControl.CausesValidation Property

System.Web.UI.WebControls Namespace   ListControl Class


.NET Framework version 2.0

Sets or retrieves a value indicating whether validation is performed when a control that is derived from the ListControl class is clicked.

Syntax


Inline <asp:listcontrol causesvalidation [ = true | false ] ... >
Script ListControl.CausesValidation [ = true | false ]

Property Value

This property accepts or returns only a boolean value: true if validation is performed when the list control is clicked; otherwise, false. Default value is false.

Remarks

Use the CausesValidation property to specify or determine whether validation is performed on both the client and the server when a ListControl is clicked. Page validation determines whether the input controls associated with a validation control on the page all pass the validation rules specified by the validation control.

By default, clicking a control that is derived from the ListControl class does not cause page validation. To perform page validation when a control that is derived from the ListControl class is clicked, set the CausesValidation property to true.

When the value of the CausesValidation property is set to true, you can also use the ValidationGroup property to specify the name of the validation group for which the ListControl causes validation.

See Also

ListControl Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph