Displays the System.Web.UI.WebControls.CheckBoxList on the client.
- writer
- A System.Web.UI.HtmlTextWriter that contains the output stream for rendering on the client.
The CheckBoxList.Render(System.Web.UI.HtmlTextWriter) method is used primarily by control developers in custom controls that derive from the System.Web.UI.WebControls.CheckBoxList class.
The CheckBoxList.Render(System.Web.UI.HtmlTextWriter) implementation for a System.Web.UI.WebControls.CheckBoxList control initializes a System.Web.UI.WebControls.RepeatInfo object for the list, and calls the RepeatInfo.RenderRepeater(System.Web.UI.HtmlTextWriter, IRepeatInfoUser, Style, WebControl) method, which in turn uses the CheckBoxList.RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter) method to render individual check box list items.