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.PageA System.Web.UI.Page object to receive the status message.
cssClass
Type: System.StringA string that contains the name of the CSS object to use when styling the message.
id
Type: System.StringThe ID of the parent control.
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