System.Web.UI.WebControls.ValidationSummary.EnableClientScript Property

Gets or sets a value indicating whether the System.Web.UI.WebControls.ValidationSummary control updates itself using client-side script.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue(true)]
public bool EnableClientScript { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to specify whether the System.Web.UI.WebControls.ValidationSummary control updates itself using client-side script. When this property is set to true, client-side script is rendered on the client to update the System.Web.UI.WebControls.ValidationSummary control, if the browser supports that feature. When this property is set to false, no client-side script is rendered on the client and the System.Web.UI.WebControls.ValidationSummary control only updates itself on round trips to the server. In this situation, the ValidationSummary.ShowMessageBox property has no effect.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0