RepeatInfo.RenderRepeater Method (HtmlTextWriter, IRepeatInfoUser, Style, WebControl)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public void RenderRepeater(
	HtmlTextWriter writer,
	IRepeatInfoUser user,
	Style controlStyle,
	WebControl baseControl
)

Parameters

writer
Type: System.Web.UI.HtmlTextWriter

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

user
Type: System.Web.UI.WebControls.IRepeatInfoUser

An IRepeatInfoUser implemented object that represents the control to render.

controlStyle
Type: System.Web.UI.WebControls.Style

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

baseControl
Type: System.Web.UI.WebControls.WebControl

The control from which to copy base attributes.

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

.NET Framework
Available since 1.1
Return to top
Show: