共用方式為


SPLinkButton.OnPreRender Method

Raises the PreRender event for the button.

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

Syntax

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

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

Parameters

Remarks

This method notifies the server to perform any necessary pre-rendering steps prior to saving view state and rendering the content.

See Also

Reference

SPLinkButton Class

SPLinkButton Members

Microsoft.SharePoint.WebControls Namespace