DelegateValidationControl.RenderValidationErrorMessage Method
This member is reserved for internal use and is not intended to be used directly from your code. Renders the validation error message in an HTML table.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Sub RenderValidationErrorMessage ( _
output As TextWriter, _
strErrorMessage As String _
)
'Usage
Dim output As TextWriter
Dim strErrorMessage As String
DelegateValidationControl.RenderValidationErrorMessage(output, _
strErrorMessage)
public static void RenderValidationErrorMessage(
TextWriter output,
string strErrorMessage
)
Parameters
- output
Type: System.IO.TextWriter
The TextWriter object that receives the HTML.
- strErrorMessage
Type: System.String
The String object that represents the validation error message to display.
Remarks
This method renders the HTML table row and cells that contain the validation error message.
See Also
Reference
DelegateValidationControl Class