HtmlForm.OnPreRender(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.