다음을 통해 공유


AverageRatingFieldControl.OnPreRender Method

Handles the PreRender event.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

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

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

Parameters

Remarks

This override registers the Rating.js script file for the page that contains the current control. If the Ratings feature is not activated, the Rating.js script file will not be registered.

See Also

Reference

AverageRatingFieldControl Class

AverageRatingFieldControl Members

Microsoft.SharePoint.Portal.WebControls Namespace