Version

GridRecordCollection Class Members

The following tables list the members exposed by GridRecordCollection.

Public Constructors
 NameDescription
Public ConstructorGridRecordCollection Constructor  
Protected Fields
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountNumber of items in the collection. (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Public PropertyIsReadOnlyReturns true if the collection is read-only (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public PropertyItemGets the GridRecord at the specified index. Note: these items are created on demand.  
Protected Properties
 NameDescription
Protected PropertyGridReference to the grid that owns the record collection.  
Protected PropertyHasViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyTemporaryRecordGets/sets a temporary record (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Protected PropertyViewStateJournalThe parent owner to which this object belongs. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public Methods
 NameDescription
Public MethodAddAdds a record to the collection. (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Public MethodClearOverloaded. Overridden. Clears the collection.  
Public MethodContainsReturns true if the collection contains this item (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodCreateRecordOverridden.   
Public MethodFromIDPairLocates and returns a record by an ID pair.  
Public MethodFromKeyLocates and returns a record from the collection by its key.  
Public MethodGetCellFromIDPairSearches the record collection for the record with ItemIDPair.RecordIDPair and then if the record is found continues the serch in that record for the item with associated field of ItemIDPair.FieldIDPair.  
Public MethodGetEnumeratorReturns an enumerator for this collection of records (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Public MethodGetItemFromIDPairGets an item from the collection using its ID pair. (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Public MethodIndexOfReturns the index of the object in the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodRemoveRemoves the specified collectionObject if found in the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodRemoveAt (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Public MethodSetDirtyMarks the ViewState of every object in the collection as Dirty so that it gets stored for round tripping to the client and back. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected Methods
 NameDescription
Protected MethodClearChildControlsLoops through all the rows and calls ClearTemplates() method of the to clear cell templates if these are present.  
Protected MethodClearTemplatesClears cell templates for the row  
Protected MethodCreateTemporaryRecordCreates the temporary record (Inherited from Infragistics.Web.UI.GridControls.ControlDataRecordCollection)
Protected MethodCreateViewStateJournal (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodGenerateAttributesOverridden. Ensures that certain attributes are rendered on the GridRecordCollection  
Protected MethodInternalAddAppends the object to the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalClearOverloaded. Clears the internal collection data structure (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalMoveMoves an item from one index to another within the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodInternalRemoveOverloaded. Removes an item from the collection (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodLoadViewStateItems (Inherited from Infragistics.Web.UI.Framework.SparseObjectCollection)
Protected MethodOnClearClears associated Templates when the collection is cleared. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnInsertCompletePerforms additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnItemViewStateLoadedOverridden. Called when an items view state has been loaded  
Protected MethodOnRemoveClears associated Template when an object is removed from the collection. (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected MethodOnValidate (Inherited from Infragistics.Web.UI.Framework.SparseObjectCollection)
Protected MethodSaveViewState (Inherited from Infragistics.Web.UI.Framework.ObjectCollection)
Protected MethodSaveViewStateItems (Inherited from Infragistics.Web.UI.Framework.SparseObjectCollection)
See Also