HtmlInputCheckBox::OnPreRender Method (EventArgs^)
.NET Framework (current version)
Raises the OnPreRender event and registers the control as one that requires postback handling.
Assembly: System.Web (in System.Web.dll)
The OnPreRender method overrides the base OnPreRender method. OnPreRender is used primarily by control developers.
The following code example demonstrates how to override the OnPreRender method in a custom server control so that a Title attribute is added to each HtmlInputCheckBox control.
.NET Framework
Available since 1.1
Available since 1.1
Show: