Class
RadGrid

Represents the RadGrid for ASP.NET AJAX control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class RadGrid : HtmlContainerControl

Inheritance: objectControlHtmlControlHtmlContainerControlRadGrid

Inherited Members HtmlContainerControl.TextContentHtmlContainerControl.InnerTextHtmlControl.FindParentContainer<TContainerControl>()HtmlControl.ValidateTag(string)HtmlControl.ValidateControl()HtmlControl.ParseResponseValue<T>(string, T)HtmlControl.GetAttributeAsString(string)HtmlControl.InitializeMappings(MappingsCollection)HtmlControl.GetRectangle()HtmlControl.IsVisible()HtmlControl.GetStyleValue(string)HtmlControl.GetStyle(string)HtmlControl.GetComputedStyleValue(string)HtmlControl.GetComputedStyle(string)HtmlControl.Parent<TContainerControl>()HtmlControl.Capture()HtmlControl.Capture(string, string)HtmlControl.Capture(string)HtmlControl.InvokeEvent(ScriptEventType)HtmlControl.InvokeEvent(ScriptEventType, bool)HtmlControl.InvokeEvent(ScriptEvent)HtmlControl.InvokeEvent(ScriptEvent, bool)HtmlControl.AddEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.RemoveEventListener(string, EventHandler<JavascriptEventArgs>)HtmlControl.MouseClick()HtmlControl.MouseClick(MouseClickType)HtmlControl.MouseClick(MouseClickType, int, int)HtmlControl.MouseClick(MouseClickType, Point, OffsetReference)HtmlControl.MouseClick(MouseClickType, int, int, OffsetReference)HtmlControl.MouseHover()HtmlControl.MouseHover(Point)HtmlControl.MouseHover(int, int)HtmlControl.MouseHover(int, int, OffsetReference)HtmlControl.Click()HtmlControl.Click(bool)HtmlControl.ScrollToVisible()HtmlControl.ScrollToVisible(ScrollToVisibleType)HtmlControl.ScrollToVisible(ScrollToVisibleType, Rectangle)HtmlControl.Download(bool, DownloadOption, string, int)HtmlControl.CallMethod(string)HtmlControl.CallMethod<T>(string)HtmlControl.CallMethod<T>(string, T)HtmlControl.GetValue<T>(string)HtmlControl.GetValue<T>(string, T)HtmlControl.GetValue<T>(string, bool)HtmlControl.GetValue<T>(string, bool, T)HtmlControl.SetValue<T>(string, T)HtmlControl.SetValue<T>(string, T, bool)HtmlControl.Focus()HtmlControl.DragTo(OffsetReference, Point, int, int)HtmlControl.DragTo(OffsetReference, int, int, Rectangle, OffsetReference, int, int)HtmlControl.DragTo(Point)HtmlControl.DragTo(int, int)HtmlControl.DragTo(HtmlControl)HtmlControl.DragTo(HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, Point, HtmlControl)HtmlControl.DragTo(OffsetReference, Point, HtmlControl, OffsetReference, Point)HtmlControl.DragTo(OffsetReference, int, int, bool, HtmlControl, OffsetReference, int, int, bool)HtmlControl.DragToWindowLocation(OffsetReference, int, int, bool, OffsetReference, int, int, bool)HtmlControl.ToString()HtmlControl.AsjQueryControl()HtmlControl.GetElementByTagNameClientSideLocatorHtmlControl.GetElementByIdClientSideLocatorHtmlControl.FindHtmlControl.ScrollTopHtmlControl.ScrollLeftHtmlControl.WaitHtmlControl.IDHtmlControl.CssClassHtmlControl.AttributesHtmlControl.MappingsHtmlControl.StylesHtmlControl.EventsHtmlControl.TagNameHtmlControl.ChildNodesHtmlControl.IsActiveElementHtmlControl.IsEnabledControl.Refresh()Control.AssignFailed(Exception)Control.SetTelerikComponentsVersion(TelerikComponentsVersion?)Control.MatchControl(Element, FindParam)Control.GetFamilyElement(int, Element)Control.ThrowOnInvalidAssignmentControl.TelerikComponentsVersionControl.IsRefreshControl.BaseElementControl.OwnerBrowserControl.Locator

Constructors

RadGrid()

Initializes a new instance of the RadGrid class.

Declaration

cs-api-definition
public RadGrid()

RadGrid(Element)

Initializes a new instance of the RadGrid class.

Declaration

cs-api-definition
public RadGrid(Element element)

Parameters

element

Element

Properties

AllowCellSelection

Get whether the client-side cell selection is enabled.

Declaration

cs-api-definition
public bool AllowCellSelection { get; }

Property Value

bool

AllowColumnResize

Get whether the column resizing is allowed.

Declaration

cs-api-definition
public bool AllowColumnResize { get; }

Property Value

bool

AllowColumnSelection

Get whether the client-side column selection is enabled.

Declaration

cs-api-definition
public bool AllowColumnSelection { get; }

Property Value

bool

AllowColumnsReorder

Get whether columns can be reordered server, client-side or both. To be able to reorder columns client-side, the 'ReorderColumnsOnClient' should be enabled as well.

Declaration

cs-api-definition
public bool AllowColumnsReorder { get; }

Property Value

bool

AllowMultiCellSelection

Get whether the client-side multi-cell selection is enabled.

Declaration

cs-api-definition
public bool AllowMultiCellSelection { get; }

Property Value

bool

AllowMultiColumnSelection

Get whether the client-side multi-column selection is enabled.

Declaration

cs-api-definition
public bool AllowMultiColumnSelection { get; }

Property Value

bool

AllowMultiRowSelection

Get whether the multi-row selection is enabled.

Declaration

cs-api-definition
public bool AllowMultiRowSelection { get; }

Property Value

bool

AllowRowResize

Get whether the row resizing is allowed.

Declaration

cs-api-definition
public bool AllowRowResize { get; }

Property Value

bool

AllowRowSelection

Get whether the client-side row selection is enabled.

Declaration

cs-api-definition
public bool AllowRowSelection { get; }

Property Value

bool

ClientSideLocator

The client-side locator of the RadGrid control.

Declaration

cs-api-definition
public override string ClientSideLocator { get; }

Property Value

string

Overrides HtmlControl.ClientSideLocator

ClipCellContentOnResize

Get whether the clip-cell-content-on-resize is enabled.

Declaration

cs-api-definition
public bool ClipCellContentOnResize { get; }

Property Value

bool

DetailTableCount

Get the detail table levels of the Grid.

Declaration

cs-api-definition
public int DetailTableCount { get; }

Property Value

int

EditedItemCount

The collection of indexes of the items being edited.

Declaration

cs-api-definition
public int EditedItemCount { get; }

Property Value

int

EnableDragToSelectRows

Get whether the drag-to-select option is enabled.

Declaration

cs-api-definition
public bool EnableDragToSelectRows { get; }

Property Value

bool

EnableHeaderContextMenu

Get whether the header context menu is enabled.

Declaration

cs-api-definition
public bool EnableHeaderContextMenu { get; }

Property Value

bool

EnableRealTimeResize

Get whether the real-time resizing is enabled.

Declaration

cs-api-definition
public bool EnableRealTimeResize { get; }

Property Value

bool

GridFilterItem

Get the FilterItem HtmlControl if fitering is enabled.

Declaration

cs-api-definition
public GridFilterItem GridFilterItem { get; }

Property Value

GridFilterItem

GroupPanel

Get the GroupPanel HtmlControl if RadGrid's GroupPanel is enabled or null otherwise.

Declaration

cs-api-definition
public GridGroupPanel GroupPanel { get; }

Property Value

GridGroupPanel

IsScrollingEnabled

Get whether the scrolling of the Grid is enabled.

Declaration

cs-api-definition
public bool IsScrollingEnabled { get; }

Property Value

bool

LocatorExpression

Get the locator FindParam of the Grid.

Declaration

cs-api-definition
public override IFindExpression LocatorExpression { get; }

Property Value

IFindExpression

Overrides Control.LocatorExpression

MasterTable

Get the Grid MasterTable.

Declaration

cs-api-definition
public GridTableView MasterTable { get; }

Property Value

GridTableView

Pager

Get the Grid pager control.

Declaration

cs-api-definition
public GridPager Pager { get; }

Property Value

GridPager

RenderMode

Render mode of RadGrid.

Declaration

cs-api-definition
public RenderMode RenderMode { get; }

Property Value

RenderMode

ReorderColumnsOnClient

Enables the client-side columns reorder if both with the 'AllowColumnsReorder' are on.

Declaration

cs-api-definition
public bool ReorderColumnsOnClient { get; }

Property Value

bool

ResizeGridOnColumnResize

Get whether the resize-grid-on-column-resizing is enabled.

Declaration

cs-api-definition
public bool ResizeGridOnColumnResize { get; }

Property Value

bool

SelectedCellsCount

Gets the selected cells count.

Declaration

cs-api-definition
public int SelectedCellsCount { get; }

Property Value

int

StaticHeadersEnabled

Get whether the static headers of the Grid are enabled.

Declaration

cs-api-definition
public bool StaticHeadersEnabled { get; }

Property Value

bool

Methods

AssignElement(Element)

Assign element and initialize this control.

Declaration

cs-api-definition
public override void AssignElement(Element e)

Parameters

e

Element

The element.

Overrides HtmlContainerControl.AssignElement(Element)

ControlAssert()

Get RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

FindColumn(Predicate<GridTableHeader>)

Find column by given predicate.

Declaration

cs-api-definition
public GridTableHeader FindColumn(Predicate<GridTableHeader> predicate)

Parameters

predicate

Predicate<GridTableHeader>

The predicate used as search criteria.

Returns

GridTableHeader

The column matching the given criteria or null if nothing matches the search.

FindColumnByName(string)

Finds column by name.

Declaration

cs-api-definition
public GridTableHeader FindColumnByName(string columnName)

Parameters

columnName

string

Returns

GridTableHeader

FindColumns(Predicate<GridTableHeader>)

Get a list of columns matching the given predicate.

Declaration

cs-api-definition
public IList<GridTableHeader> FindColumns(Predicate<GridTableHeader> predicate)

Parameters

predicate

Predicate<GridTableHeader>

The predicate.

Returns

IList<GridTableHeader>

The columns matching the given predicate.