Επεξεργασία

Κοινή χρήση μέσω


HtmlForm.OnPreRender(EventArgs) Method

Definition

Raises the PreRender event for the HtmlForm control.

protected public:
 override void OnPreRender(EventArgs ^ e);
protected internal override void OnPreRender (EventArgs e);
override this.OnPreRender : EventArgs -> unit
Protected Friend Overrides Sub OnPreRender (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

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.

Note

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

Applies to

See also