HtmlMenuButton.RenderID Method
Sends the HtmlMenuButton identifier (ID) to the provided HtmlTextWriter object, which writes the content to be rendered on the client.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Sub RenderID ( _
output As HtmlTextWriter, _
fEscape As Boolean _
)
'Usage
Dim output As HtmlTextWriter
Dim fEscape As Boolean
Me.RenderID(output, fEscape)
protected void RenderID(
HtmlTextWriter output,
bool fEscape
)
Parameters
- output
Type: System.Web.UI.HtmlTextWriter
The object that receives the HtmlMenuButton ID.
- fEscape
Type: System.Boolean
true if the ID should be encoded for JavaScript; otherwise, false.
Remarks
The method renders the HtmlMenuButton ID to the client. The ID rendered will be either ClientID if defined, ID if ClientID is not defined, or MenuButton if both preceding values are not defined.