Compartilhar via


DataFormWebPart.OnPreRender Method

Overrides the base class implementation to ensure that the transform ran and that the child controls were created.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

  • e
    Type: System.EventArgs

    The event data to pass to the base class implementation.

Remarks

This method overrides the base class to provide additional processing. It starts after the object is loaded to perform any updates before the server control is rendered to the page. Any changes in the view state of the server control can be saved during this event.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace