System.Web.UI.WebControls.RadioButtonList.Render Method

Displays the System.Web.UI.WebControls.RadioButtonList control on the client.

Syntax

protected override void Render (System.Web.UI.HtmlTextWriter writer)

Parameters

writer
A System.Web.UI.HtmlTextWriter that contains the output stream for rendering on the client.

Remarks

This method is used primarily by control developers in custom controls that derive from the System.Web.UI.WebControls.RadioButtonList class.

The RadioButtonList.Render(System.Web.UI.HtmlTextWriter) method implementation for a System.Web.UI.WebControls.RadioButtonList 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 RadioButtonList.RenderItem(ListItemType, int, RepeatInfo, System.Web.UI.HtmlTextWriter) method to render individual radio button list items.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0