Renders the list items in the System.Web.UI.WebControls.DataList control.
- writer
- A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.
The DataList.RenderContents(System.Web.UI.HtmlTextWriter) method is used primarily by control developers, when deriving a custom control from the System.Web.UI.WebControls.DataList control.
The DataList.RenderContents(System.Web.UI.HtmlTextWriter) method renders the inner content of the System.Web.UI.WebControls.DataList control, including the contained System.Web.UI.WebControls.DataListItem controls.