LinkButton::OnPreRender Method (EventArgs^)
.NET Framework (current version)
Raises the PreRender event.
Assembly: System.Web (in System.Web.dll)
The OnPreRender method notifies the LinkButton control to perform any necessary prerendering steps prior to saving view state and rendering content to the client.
The following code example demonstrates how to override the OnPreRender method so that a border is never displayed in a custom LinkButton control.
.NET Framework
Available since 1.1
Available since 1.1
Show: