RadGrid for ASP.NET

RadGrid Send comments on this topic.
Items Property
See Also 
Telerik.WebControls Namespace > RadGrid Class : Items Property


Gets a collection of all GridDataItems.   

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property Items As GridDataItemCollection
Visual Basic (Usage)Copy Code
Dim instance As RadGrid
Dim value As GridDataItemCollection
 
value = instance.Items
C# 
public virtual GridDataItemCollection Items {get;}

Return Value

all grid data items as GridDataItemCollection

Remarks

The RadGrid control automatically populates the Items collection by creating a GridDataItem object for each record in the data source and then adding each object to the collection. This property is commonly used to access a specific item in the control or to iterate though the entire collection of items.

You cannot use this collection to get special Items like Header, Pager, Footer, etc. Handle ItemCreated event and use the event arguments to get a reference to such items.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also