WebPartManager.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.
Raises the PreRender event, which occurs just before a WebPartManager control is rendered on a Web page.
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 calls the base method, which raises the PreRender event for the control, and then registers several client scripts that are needed on pages that contain Web Parts controls.
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.