Share via


EditModePanel.RenderBeginTag Method

Renders the HTML opening tag of the control to the specified writer if enabled.

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

Syntax

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

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

Parameters

Remarks

The base class renders an opening <DIV> tag before it outputs child controls. You can use the RenderBeginTag method to override the RenderBeginTag method from the base class and suppress this opening tag. If the SuppressTag property is set to true, this method will suppress the generation of the opening tag. Otherwise, the opening tag will be generated by the base class.

See Also

Reference

EditModePanel Class

EditModePanel Members

Microsoft.SharePoint.Publishing.WebControls Namespace

SuppressTag