Writes the System.Web.UI.WebControls.BulletedList control content to the specified System.Web.UI.HtmlTextWriter object for display on the client.
- writer
- An System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.
The BulletedList.Render(System.Web.UI.HtmlTextWriter) method is used primarily by control developers.
The BulletedList.Render(System.Web.UI.HtmlTextWriter) method writes the rendered content of the System.Web.UI.WebControls.BulletedList items to the client using the supplied System.Web.UI.HtmlTextWriter object. Each System.Web.UI.WebControls.BulletedList item is represented by an element in the ListControl.Items collection.
If the ListControl.Items property of the System.Web.UI.WebControls.BulletedList control is empty, no content is rendered to the System.Web.UI.HtmlTextWriter. If there is at least one list item in the ListControl.Items collection, the BulletedList.Render(System.Web.UI.HtmlTextWriter) method writes the HTML content for the System.Web.UI.WebControls.BulletedList control using the WebControl.RenderBeginTag(System.Web.UI.HtmlTextWriter), BulletedList.RenderContents(System.Web.UI.HtmlTextWriter), and WebControl.RenderEndTag(System.Web.UI.HtmlTextWriter) methods.