HtmlForm.OnPreRender Method (EventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the PreRender event for the HtmlForm control.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

protected internal override void OnPreRender(
	EventArgs e
)

Parameters

e
Type: System.EventArgs

An EventArgs that contains the event data.

The OnPreRender method is called just prior to rendering the HtmlForm control. If the Page.SmartNavigation property is set to true, the OnPreRender method registers the smart navigation script file reference so that it gets rendered.

System_CAPS_noteNote

The Page.SmartNavigation property has been deprecated in ASP.NET version 2.0.

.NET Framework
Available since 2.0
Return to top
Show: