System.Web
1.0.5000.0
2.0.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
System.Web.UI.WebControls.WebControl
The class is used to summarize the error messages from all validators on a Web page in a single location. You can summarize the error messages from a group of validators on a Web page by assigning the control to a validation group by setting the property.
The summary can be displayed as a list, as a bulleted list, or as a single paragraph, based on the property.
The summary can be displayed on the Web page and in a message box by setting the and properties, respectively.
When you use the control inside an control, make sure that the validator control and the control it is associated with are in the same panel. For more information about using the control for partial-page updates, see Partial-Page Rendering Overview.
For a list of initial property values for an instance of , see the constructor.
Accessibility
For information about how to configure this control so that it generates markup that conforms to accessibility standards, see Accessibility in Visual Studio 2010 and ASP.NET 4 and ASP.NET Controls and Accessibility.
Displays a summary of all validation errors inline on a Web page, in a message box, or both.
Constructor
The following table shows the initial property value for an instance of .
-
Property
Initial Value
-
ForeColor
Color.Red
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
Adds attributes to the HTML tags generated for this control.
The output stream that renders HTML content to the client.
1.0.5000.0
2.0.0.0
Property
System.Web.UI.WebControls.ValidationSummaryDisplayMode
To be added: an object of type 'ValidationSummaryDisplayMode'
Use this property to specify the display format of a control. The summary can be displayed as a list, as a bulleted list, or as a single paragraph.
Gets or sets the display mode of the validation summary.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(System.Web.UI.WebControls.ValidationSummaryDisplayMode.BulletList)
Property
System.Boolean
To be added: an object of type 'bool'
Use this property to specify whether the 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 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 control only updates itself on round trips to the server. In this situation, the property has no effect.
This property cannot be set by themes or style sheet themes. For more information, see and ASP.NET Themes Overview.
Gets or sets a value indicating whether the control updates itself using client-side script.
1.0.5000.0
2.0.0.0
System.Web.UI.Themeable(false)
System.ComponentModel.DefaultValue(true)
Property
System.Drawing.Color
a
Use this property to specify the color in which error messages from validation controls are displayed.
Gets or sets the foreground color of the control.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(typeof(System.Drawing.Color), "Red")
Property
System.String
To be added: an object of type 'string'
Use this property to display a title for the control.
The property is not HTML encoded. Therefore, HTML tags can be included in .
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see and ASP.NET Globalization and Localization.
Gets or sets the header text displayed at the top of the summary.
1.0.5000.0
2.0.0.0
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue("")
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Raises the event.
An that contains the event data.
Method
1.0.5000.0
2.0.0.0
System.Void
To be added.
Sends server control content to a provided object, which writes the content to be rendered on the client.
The output stream that renders HTML content to the client.
Property
System.Boolean
To be added: an object of type 'bool'
This property can be used in addition to the property to control where the validation summary is displayed. If this property and are both set to true, the validation summary is displayed in a message box. If is set to false, this property has no effect.
If both the and properties are set to true, the validation summary is displayed in both a message box and on the Web page.
Gets or sets a value indicating whether the validation summary is displayed in a message box.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(false)
Property
System.Boolean
To be added: an object of type 'bool'
This property can be used in addition to the property to control where the validation summary is displayed. If this property is set to true, the validation summary is displayed on the Web page.
If both the and properties are set to true, the validation summary is displayed in both a message box and on the Web page.
Gets or sets a value indicating whether the validation summary is displayed inline.
1.0.5000.0
2.0.0.0
System.ComponentModel.DefaultValue(true)
Property
2.0.0.0
System.Web.UI.Themeable(false)
System.ComponentModel.DefaultValue("")
System.String
To be added.
Validation groups allow you to assign validation controls on a page to a specific category. Each validation group can be validated independently of other validation groups on the page. Use the property to specify the name of the validation group for which the control will summarize error messages.
When you specify a value for the property, only error messages from the validation controls that are part of the specified group are summarized. If you do not set a value for this property, all error messages from validation controls on the page that are not assigned to a validation group are summarized.
This property cannot be set by themes or style sheet themes. For more information, see and ASP.NET Themes Overview.
Gets or sets the group of controls for which the object displays validation messages.
System.ComponentModel.Designer("System.Web.UI.Design.WebControls.PreviewControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")