RadGrid for ASP.NET

RadGrid Send comments on this topic.
RadGrid Class Members
See Also  Fields  Properties  Methods  Events
Telerik.WebControls Namespace : RadGrid Class


The following tables list the members exposed by RadGrid.

Public Constructors

 NameDescription
Public ConstructorRadGrid Constructor Constructs a new instance of RadGrid  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic)CancelAllCommandName  
Public Fieldstatic (Shared in Visual Basic)CancelCommandNameRepresents the Cancel command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)DeleteCommandNameRepresents the "Delete" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)DeleteSelectedCommandNameRepresents the "DeleteSelected" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)DeselectCommandName  
Public Fieldstatic (Shared in Visual Basic)EditAllCommandName  
Public Fieldstatic (Shared in Visual Basic)EditCommandNameRepresents the "Edit" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)EditSelectedCommandName  
Public Fieldstatic (Shared in Visual Basic)ExpandCollapseCommandName  
Public Fieldstatic (Shared in Visual Basic)ExportToCsvCommandName  
Public Fieldstatic (Shared in Visual Basic)ExportToExcelCommandName  
Public Fieldstatic (Shared in Visual Basic)ExportToPdfCommandName  
Public Fieldstatic (Shared in Visual Basic)ExportToWordCommandName  
Public Fieldstatic (Shared in Visual Basic)FilterCommandName  
Public Fieldstatic (Shared in Visual Basic)InitInsertCommandNameRepresents the "InitInsert" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)NextPageCommandArgument  
Public Fieldstatic (Shared in Visual Basic)PageCommandName  
Public Fieldstatic (Shared in Visual Basic)PerformInsertCommandNameRepresents the "PerformInsert" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)PrevPageCommandArgument  
Public Fieldstatic (Shared in Visual Basic)RebindGridCommandName Represents the "RebindGrid" command name. This field is read-only. Forces RadGrid.Rebind  
Public Fieldstatic (Shared in Visual Basic)SelectCommandName  
Public Fieldstatic (Shared in Visual Basic)SortCommandName  
Public Fieldstatic (Shared in Visual Basic)UpdateCommandNameRepresents the "Update" command name. This field is read-only.  
Public Fieldstatic (Shared in Visual Basic)UpdateEditedCommandName Represents the "UpdateEdited" command name. Updates all items that are in edit mode. This field is read-only.  
Top

Public Properties

 NameDescription
Public PropertyAccessKey (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyActiveItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the active item in a Telerik RadGrid control.  
Public PropertyAJAXLoadingTemplate The template that will be displayed as a progress indicator during AJAX request.  
Public PropertyAjaxUrlGets or sets a value the URL that the control will use for AJAX requests. (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public PropertyAllowAutomaticDeletes Gets or sets a value indicating whether Telerik RadGrid will automatically delete records from the specified data source.  
Public PropertyAllowAutomaticInserts Gets or sets a value indicating whether Telerik RadGrid will perform automatic insert of records to the data source.  
Public PropertyAllowAutomaticUpdates Gets or sets a value indicating whether Telerik RadGrid will perform automatic updates to the data source.  
Public PropertyAllowCustomPaging Gets or sets a value indicating whether custom paging should be performed instead of the integrated automatic paging.  
Public PropertyAllowFilteringByColumn Gets or sets a value indicating whether the filtering of all tables in the hierarchy will be enabled, unless specified other by GridTableView.AllowFilteringByColumn.  
Public PropertyAllowMultiRowEdit Gets or sets a value indicating whether Telerik RadGrid will allow you to have multiple rows in edit mode. The default value is false.  
Public PropertyAllowMultiRowSelection Gets or sets a value indicating whether you will be able to select multiple rows in Telerik RadGrid. By default this property is set to false.  
Public PropertyAllowPaging Gets or sets a value indicating whether the automatic paging feature is enabled.  
Public PropertyAllowSortingGets or sets a value indicating whether the sorting feature is enabled.  
Public PropertyAlternatingItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of alternating data items in a Telerik RadGrid control.  
Public PropertyAppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)
Public PropertyAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyAutoGenerateColumns Gets or sets a value indicating whether bound fields are automatically created for each field in the data source.  
Public PropertyAutoGenerateDeleteColumn  
Public PropertyAutoGenerateEditColumn  
Public PropertyBackColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBackImageUrl Gets or sets the URL to an image to display in the background of a Telerik RadGrid control.  
Public PropertyBorderColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBorderStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyBorderWidth (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyCellPadding Gets or sets the amount of space between the contents of a cell and the cell's border. (Inherited from GridBaseDataList)
Public PropertyCellSpacingGets or sets the amount of space between cells. (Inherited from GridBaseDataList)
Public PropertyClientID (Inherited from System.Web.UI.Control)
Public PropertyClientSettings Gets a reference to the GridClientSettings object that allows you to set the properties of the client-side behavior and appearance in a Telerik RadGrid control.  
Public PropertyColumns Gets a collection (GridColumnCollection) of all columns in Telerik RadGrid.  
Public PropertyCommandItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the command item in a Telerik RadGrid control.  
Public PropertyControlStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyCssClass (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyCurrentPageIndexGets or sets an integer value representing the current page index.  
Public PropertyDataMemberOverridden.  Gets or sets the name of the list of data that the Telerik RadGrid control binds to, in cases where the data source contains more than one distinct list of data items.  
Public PropertyDataSourceOverridden.  Gets or sets the object from which the Telerik RadGrid control retrieves its list of data items.  
Public PropertyDataSourceIDOverridden. Gets or sets the ID of the control from which the Telerik RadGrid control retrieves its list of data items.  
Public PropertyEditIndexesGets a collection of the indexes of the Items that are in edit mode.  
Public PropertyEditItems Gets a collection of all GridItems in edit mode. See the Remarks for more info.  
Public PropertyEditItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the item selected for editing in a Telerik RadGrid control.  
Public PropertyEnableAJAXOverridden.  Gets or sets a value indicating whether Telerik RadGrid will work in AJAX mode, i.e. will perform asynchronous requests instead of traditional postbacks.  
Public PropertyEnableAJAXLoadingTemplate If set to true and if there is AJAX request, RadGrid will show AJAXLoadingTemplate  
Public PropertyEnabled (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyEnableOutsideScriptsOverridden.  Gets or sets a value indicating if the outside scripts for the AJAX-enabled controls will be evaluated.  
Public PropertyEnableTheming (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyEnableViewState (Inherited from System.Web.UI.Control)
Public PropertyExportSettings Gets a reference to the GridExportSettings object that allows you to set the properties of the grouping operation in a Telerik RadGrid control.  
Public PropertyFilterItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the filter item in a Telerik RadGrid control.  
Public PropertyFilterMenu Gets a reference to GridFilterMenu object. The filtering menu appears when the filter button on the GridFilterItem is clicked.  
Public PropertyFont (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyFooterStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the footer item in a Telerik RadGrid control.  
Public PropertyForeColor (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyFormID  
Public PropertyGridLines Gets or sets a value that specifies whether the border between the cells of a data table is displayed. (Inherited from GridBaseDataList)
Public PropertyGroupHeaderItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the group-header item in a Telerik RadGrid control.  
Public PropertyGroupingEnabledGets or sets a value indicating whether the grouping is enabled.  
Public PropertyGroupingSettings Gets a reference to the GridGroupingSettings object that allows you to set the properties of the grouping operation in a Telerik RadGrid control.  
Public PropertyGroupPanel Gets group panel control instance - visible only if grouping is enabled in grid (GroupingEnabled). Each GridTableView's Group-By-Expression is visualized in this panel.  
Public PropertyHasAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyHeaderStyleGets the style properties of the heading section in the RadGrid control.  
Public PropertyHeight (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyHierarchySettings Gets a reference to the GridHierarchySettings object that allows you to set the properties of the hierarchical Telerik RadGrid control.  
Public PropertyHorizontalAlign Gets or sets the horizontal alignment of a data table within its container. (Inherited from GridBaseDataList)
Public PropertyID (Inherited from System.Web.UI.Control)
Public PropertyIsAjaxRequest Gets a value indicating whether the current request is an AJAX request initiated by the current control. (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public PropertyIsAsyncRequest Gets a value indicating whether the current request is an AJAX request initiated by the current control. (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public PropertyItemsGets a collection of all GridDataItems.  
Public PropertyItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the data items in a RadGrid control.  
Public PropertyLoadingTemplateTransparency Gets or sets AJAXLoadingTemplate transparency in percentage. Default value is 0 percents.  
Public PropertyMasterTableView The instance of GridTableView that represents the main grid-table view in RadGrid.  
Public PropertyNamingContainer (Inherited from System.Web.UI.Control)
Public PropertyOnAjaxRequestError Using this property you can provide your own error handler for AJAX requests in RadAjax, RadGrid, RadCalendar if you wish to block or handle those errors in a specific way. You can either supply the name of a javascript function or executable code like "alert(e.message)" The javascript handler function should have the following signature: AjaxRequestErrorHandler(e, clientID) {...} It must also be defined ABOVE the code clock which contains your AJAX enabled control. (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public PropertyPage (Inherited from System.Web.UI.Control)
Public PropertyPageCountGets the number of pages required to display the records of the data source in a Telerik RadGrid control.  
Public PropertyPagerStyle Gets a reference to the GridPagerStyle object that allows you to set the appearance of the page item in a Telerik RadGrid control.  
Public PropertyPageSize Gets or sets an integer value indicating the number of Items that a single page in Telerik RadGrid will contain.  
Public PropertyParent (Inherited from System.Web.UI.Control)
Public PropertyRadControlsDir (Inherited from Telerik.RadGridUtils.RadControl)
Public PropertyResponseScripts Gets or sets a string collection of JavaScripts that will be executed on client-side when the response returns. (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public PropertySelectedIndexesGets a collection of indexes of the selected items.  
Public PropertySelectedItemsGets a collection of the currently selected GridDataItems  
Public PropertySelectedItemStyle Gets a reference to the GridTableItemStyle object that allows you to set the appearance of the selected item in a Telerik RadGrid control.  
Public PropertySelectedValueGets the data key value of the selected row in a RadGrid control.  
Public PropertyShowFooter Gets or set a value indicating whether the footer item of the grid will be shown.  
Public PropertyShowGroupPanel Gets or sets a value indicating whether the GridGroupPanel would be shown in Telerik RadGrid.  
Public PropertyShowHeader Gets or set a value indicating whether the header item of the grid will be shown.  
Public PropertyShowStatusBar Gets or set a value indicating whether the statusbar item of the grid will be shown.  
Public PropertySite (Inherited from System.Web.UI.Control)
Public PropertySkinOverridden. Gets or sets the name of the Skin that Telerik RadGrid will use. The name of the skin is actually the name of the subfolder of ~/RadControls/Grid/Skins, where the stylesheet and images for this skin reside.

The folder that holds the skins can be changed using the SkinsPath Property.  

Public PropertySkinID (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertySkinsPathOverridden.  Gets or sets the folder where the skins for Telerik RadGrid reside. By default this is ~/RadControls/Grid/Skins folder.  
Public PropertySortingSettings Gets a reference to the GridSortingSettings object that allows you to set the properties of the sorting operation in a Telerik RadGrid control.  
Public PropertyStatusBarSettings Gets a GridStatusBarItemSettings object that contains variable settings related to the status bar.  
Public PropertyStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyTabIndexGets or sets the tab index of the Web server control. (Inherited from GridBaseDataList)
Public PropertyTemplateControl (Inherited from System.Web.UI.Control)
Public PropertyTemplateSourceDirectory (Inherited from System.Web.UI.Control)
Public PropertyToolTip (Inherited from System.Web.UI.WebControls.WebControl)
Public PropertyUniqueID (Inherited from System.Web.UI.Control)
Public PropertyUrlOverridden.   
Public PropertyUseEmbeddedScripts Gets or sets a value indicating whether to use the embedded JavaScript files or not. (Inherited from Telerik.RadGridUtils.RadControl)
Public PropertyValidationSettings Gets a reference to the GridValidationSettings object that allows you to set the properties of the validate operation in a Telerik RadGrid control.  
Public PropertyVirtualItemCount Gets or sets a value, indicating the total number of items in the data source when custom paging is used. Thus the grid "understands" that the data source contains the specified number of records and it should fetch merely part of them at a time to execute requested operation.  
Public PropertyVisible (Inherited from System.Web.UI.Control)
Public PropertyWidth (Inherited from System.Web.UI.WebControls.WebControl)
Top

Public Methods

 NameDescription
Public MethodApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodApplyStyleSheetSkin (Inherited from System.Web.UI.Control)
Public MethodAsyncRedirectOverloaded.  Performs a redirection to another page defined with a relative path using an AJAX request.  
Public MethodCopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodCreateTableView This method is used by RadGrid internally. Please do not use.  
Public MethodDataBindOverridden. Data-bind MasterTableView and its detail GridTableViews. Prior to calling DataBind, the DataSource property should be assigned.  
Public MethodDispose (Inherited from System.Web.UI.Control)
Public MethodFindControl (Inherited from System.Web.UI.Control)
Public MethodFocus (Inherited from System.Web.UI.Control)
Public MethodGetSkinFolderNameReturns the path of the used skin, relative to the application root.  
Public MethodHasControls (Inherited from System.Web.UI.Control)
Public MethodMergeStyle (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodRebind Forces RadGrid to fire NeedDataSource event then calls DataBind  
Public MethodRenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodRenderControl (Inherited from System.Web.UI.Control)
Public MethodRenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)
Public MethodResolveClientUrl (Inherited from System.Web.UI.Control)
Public MethodResolveUrl (Inherited from System.Web.UI.Control)
Public MethodSetMaxRequestQueueSize (Inherited from Telerik.RadGridUtils.RadAJAXControl)
Public MethodSetRenderMethodDelegate (Inherited from System.Web.UI.Control)
Top

Public Events

 NameDescription
Public EventCancelCommandOccurs when the Cancel button is clicked for an item in the Telerik RadGrid control.  
Public EventColumnCreated This event is fired after the creation of auto-generated columns.  
Public EventColumnCreating Fires before a custom column is created. You can handle the event to replace or modify the instance of the column that should be created and added into the collection of column in the corresponding GridTableView.  
Public EventCreateColumnEditor Fires when each editable column creates its column editor, prior to initializing its controls in the cells of the grid  
Public EventDataBinding (Inherited from System.Web.UI.Control)
Public EventDataBound (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)
Public EventDeleteCommand Occurs when the Delete button is clicked for an item in the Telerik RadGrid control.  
Public EventDetailTableDataBind Fires when a detail-table in the hierarchy is about to be bound. You should only assign the DataSource property of the detail table to a data-source properly filtered to display ony child records related to the parent item.  
Public EventDisposed (Inherited from System.Web.UI.Control)
Public EventEditCommand Occurs when the Edit button is clicked for an item in the Telerik RadGrid control.  
Public EventGroupsChanging Fires when a grouping action has been performed. For example when a column header was dragged in the GroupPanel.  
Public EventInit (Inherited from System.Web.UI.Control)
Public EventInsertCommand Occurs when the Insert button is clicked for an item in the Telerik RadGrid control.  
Public EventItemCommandOccurs when a button is clicked in a Telerik RadGrid control.  
Public EventItemCreatedOccurs when a item is created in a Telerik RadGrid control.  
Public EventItemDataBoundOccurs when a data iten is bound to data in a Telerik RadGrid control.  
Public EventItemDeletedFires when a grid item has been deleted.  
Public EventItemEvent Fires when various item events occur - for example, before Pager item is initialized, before EditForm is initialized, etc.  
Public EventItemInsertedFires when a grid item has been inserted.  
Public EventItemUpdatedFires when a grid item has been updated.  
Public EventLoad (Inherited from System.Web.UI.Control)
Public EventNeedDataSourceFires when the grid is about to be bound and the data source must be assigned (is null/Nothing).  
Public EventPageIndexChangedFires when a paging action has been performed.  
Public EventPageSizeChanged Fires when PageSize property value has been changed.  
Public EventPreRender (Inherited from System.Web.UI.Control)
Public EventSelectedIndexChanged Occurs when a different item is selected in a table between posts to the server. (Inherited from GridBaseDataList)
Public EventSortCommandOccurs when a column is sorted.  
Public EventUnload (Inherited from System.Web.UI.Control)
Public EventUpdateCommand Occurs when the Update button is clicked for an item in the Telerik RadGrid control.  
Top

See Also