PublishingPageStatusIndicator.RenderStatusString method

Renders the current status to the web page.

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

Syntax

'Declaration
Public Shared Function RenderStatusString ( _
    page As Page, _
    cssClass As String, _
    id As String _
) As String
'Usage
Dim page As Page
Dim cssClass As String
Dim id As String
Dim returnValue As String

returnValue = PublishingPageStatusIndicator.RenderStatusString(page, _
    cssClass, id)
public static string RenderStatusString(
    Page page,
    string cssClass,
    string id
)

Parameters

  • page
    Type: System.Web.UI.Page

    A System.Web.UI.Page object to receive the status message.

  • cssClass
    Type: System.String

    A string that contains the name of the CSS object to use when styling the message.

Return value

Type: System.String
A string containing the HTML that represents the status of the current publishing page.
Returns String.

See also

Reference

PublishingPageStatusIndicator class

PublishingPageStatusIndicator members

Microsoft.SharePoint.Publishing.WebControls namespace