ModelErrorMessage::OnPreRender Method (EventArgs^)
.NET Framework (current version)
Raises the PreRender event of the base class and specifies additional processing.
Assembly: System.Web (in System.Web.dll)
Parameters
- e
-
Type:
System::EventArgs^
The event arguments.
If there is an error, this method HTML-encodes the error message, and it sets the focus to the associated control if the SetFocusOnError property is true.
.NET Framework
Available since 4.5
Available since 4.5
Show: