RepeatInfo.RenderRepeater Method

Definition

Renders a list control that repeats a list of items, using the specified information.

public void RenderRepeater(System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.IRepeatInfoUser user, System.Web.UI.WebControls.Style controlStyle, System.Web.UI.WebControls.WebControl baseControl);

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that represents the output stream used to render HTML content on the client.

user
IRepeatInfoUser

An IRepeatInfoUser implemented object that represents the control to render.

controlStyle
Style

A Style that represents the style in which to display the items.

baseControl
WebControl

The control from which to copy base attributes.

Remarks

Use the RenderRepeater method to render a list control that repeats a list of items, using the specified information.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also