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
- writer
Type: System.Web.UI.HtmlTextWriter
A HtmlTextWriter that represents the output stream to render HTML content on the client.
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.