Share via


EditModePanel.RenderEndTag Method

Renders the HTML closing tag of the control to the specified writer..

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Sub RenderEndTag ( _
    writer As HtmlTextWriter _
)
'Usage
Dim instance As EditModePanel
Dim writer As HtmlTextWriter

instance.RenderEndTag(writer)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override void RenderEndTag(
    HtmlTextWriter writer
)

Parameters

Remarks

The base class will render a closing </DIV> tag after it outputs its child controls. You can use the RenderEndTag method to override the RenderEndTag method from the base class in order to suppress this closing tag. If the SuppressTag property is true, this method will suppress the generation of the closing tag. Otherwise, the closing tag will be generated by the base class.

See Also

Reference

EditModePanel Class

EditModePanel Members

Microsoft.SharePoint.Publishing.WebControls Namespace

SuppressTag