HtmlForm::OnPreRender Method (EventArgs^)

 

Raises the PreRender event for the HtmlForm control.

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

public protected:
virtual void OnPreRender(
	EventArgs^ e
) override

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: