Export (0) Print
Expand All

Repeater Members

Repeater overview

Public Constructors

public constructorRepeater Constructor Initializes a new instance of the Repeater class.

Public Properties

public propertyAlternatingItemTemplate Gets or sets the System.Web.UI.ITemplate that defines how alternating items in the control are displayed.
public propertyClientID (inherited from Control) Gets the server control identifier generated by ASP.NET.
public propertyControls Overridden. Gets a System.Web.UI.ControlCollection that contains the child controls of the Repeater.
public propertyDataMember Gets or sets the specific table in the DataSource to bind to the control.
public propertyDataSource Gets or sets the data source that provides data for populating the list.
public propertyEnableViewState (inherited from Control) Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
public propertyFooterTemplate Gets or sets the System.Web.UI.ITemplate that defines how the footer section of the Repeater control is displayed.
public propertyHeaderTemplate Gets or sets the System.Web.UI.ITemplate that defines how the header section of the Repeater control is displayed.
public propertyID (inherited from Control) Gets or sets the programmatic identifier assigned to the server control.
public propertyItems Gets a collection of RepeaterItem objects in the Repeater.
public propertyItemTemplate Gets or sets the System.Web.UI.ITemplate that defines how items in the Repeater control are displayed.
public propertyNamingContainer (inherited from Control) Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value.
public propertyPage (inherited from Control) Gets a reference to the Page instance that contains the server control.
public propertyParent (inherited from Control) Gets a reference to the server control's parent control in the page control hierarchy.
public propertySeparatorTemplate Gets or sets the System.Web.UI.ITemplate that defines how the separator between items are displayed.
public propertySite (inherited from Control) Gets information about the Web site to which the server control belongs.
public propertyTemplateSourceDirectory (inherited from Control) Gets the virtual directory of the Page or UserControl that contains the current server control.
public propertyUniqueID (inherited from Control) Gets the unique, hierarchically-qualified identifier for the server control.
public propertyVisible (inherited from Control) Gets or sets a value that indicates whether a server control is rendered as UI on the page.

Public Methods

public methodDataBind Overridden. See Control.DataBind.
public methodDispose (inherited from Control) Enables a server control to perform final clean up before it is released from memory.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFindControl (inherited from Control) Overloaded. Searches the current naming container for the specified server control.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodHasControls (inherited from Control) Determines if the server control contains any child controls.
public methodRenderControl (inherited from Control) Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public methodResolveUrl (inherited from Control) Converts a URL into one that is usable on the requesting client.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Events

public eventDataBinding (inherited from Control) Occurs when the server control binds to a data source.
public eventDisposed (inherited from Control) Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
public eventInit (inherited from Control) Occurs when the server control is initialized, which is the first step in the its lifecycle.
public eventItemCommand Occurs when a button is clicked in the Repeater control.
public eventItemCreated Occurs when an item is created in the Repeater control.
public eventItemDataBound Occurs after an item in the Repeater is data-bound but before it is rendered on the page.
public eventLoad (inherited from Control) Occurs when the server control is loaded into the Page object.
public eventPreRender (inherited from Control) Occurs when the server control is about to render to its containing Page object.
public eventUnload (inherited from Control) Occurs when the server control is unloaded from memory.

Protected Properties

protected propertyChildControlsCreated (inherited from Control) Gets a value that indicates whether the server control's child controls have been created.
protected propertyContext (inherited from Control) Gets the HttpContext object associated with the server control for the current Web request.
protected propertyEvents (inherited from Control) Gets a list of event handler delegates for the control. This property is read-only.
protected propertyHasChildViewState (inherited from Control) Gets a value indicating whether the current server control's child controls have any saved view-state settings.
protected propertyIsTrackingViewState (inherited from Control) Gets a value that indicates whether the server control is saving changes to its view state.
protected propertyViewState (inherited from Control) Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
protected propertyViewStateIgnoresCase (inherited from Control) Gets a value that indicates whether the StateBag object is case-insensitive.

Protected Methods

protected methodAddedControl (inherited from Control) Called after a control is added to the Controls collection of another control.
protected methodAddParsedSubObject (inherited from Control) Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
protected methodClearChildViewState (inherited from Control) Deletes the view-state information for all the server control's child controls.
protected methodCreateChildControls Overridden. See Control.CreateChildControls.
protected methodCreateControlCollection (inherited from Control) Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
protected methodEnsureChildControls (inherited from Control) Determines whether the server control contains child controls. If it does not, it creates child controls.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodIsLiteralContent (inherited from Control) Determines if the server control holds only literal content.
protected methodLoadViewState (inherited from Control) Restores view-state information from a previous page request that was saved by the SaveViewState method.
protected methodMapPathSecure (inherited from Control) Retrieves the physical path that a virtual path, either absolute or relative, maps to.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnBubbleEvent Overridden. See Control.OnBubbleEvent.
protected methodOnDataBinding Overridden. See Control.OnDataBinding.
protected methodOnInit (inherited from Control) Raises the Init event.
protected methodOnItemCommand Raises the ItemCommand event.
protected methodOnItemCreated Raises the ItemCreated event.
protected methodOnItemDataBound Raises the ItemDataBound event.
protected methodOnLoad (inherited from Control) Raises the Load event.
protected methodOnPreRender (inherited from Control) Raises the PreRender event.
protected methodOnUnload (inherited from Control) Raises the Unload event.
Note   Server controls should perform any final cleanup, such as closing files, closing database connections, and discarding objects, during this stage of the server control lifecycle.
protected methodRaiseBubbleEvent (inherited from Control) Assigns any sources of the event and its information to the control's parent.
protected methodRemovedControl (inherited from Control) Called after a control is removed from the Controls collection of another control.
protected methodRender (inherited from Control) Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
protected methodRenderChildren (inherited from Control) Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
protected methodSaveViewState (inherited from Control) Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
protected methodTrackViewState (inherited from Control) Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the Control.ViewState property.

See Also

Repeater Class | System.Web.UI.WebControls Namespace

Show:
© 2015 Microsoft