Class
GridDataCell

Represents the RadGrid for ASP.NET AJAX data cell control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Html

Assembly:Telerik.WebAii.Controls.Html.dll

Syntax:

cs-api-definition
public class GridDataCell : HtmlTableCell

Inheritance: objectControlHtmlControlHtmlContainerControlHtmlTableCellGridDataCell

Inherited Members HtmlTableCell.AlignHtmlTableCell.CellIndexHtmlTableCell.ColSpanHtmlTableCell.RowSpanHtmlTableCell.HeightHtmlTableCell.VAlignHtmlTableCell.WidthHtmlContainerControl.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.ClientSideLocatorHtmlControl.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

GridDataCell()

Initializes a new instance of the GridDataCell class.

Declaration

cs-api-definition
public GridDataCell()

GridDataCell(Element)

Initializes a new instance of the GridDataCell class.

Declaration

cs-api-definition
public GridDataCell(Element element)

Parameters

element

Element

Properties

CanDeleteItem

Get whether a built-in 'delete' item button is available in this cell so the parent item can be deleted.

Declaration

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

Property Value

bool

CanEditItem

Get whether a built-in 'edit' item button is available in this cell so the parent item can be edited.

Declaration

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

Property Value

bool

CanExpandCollapseItem

Get whether a built-in 'expand/collapse' item button is available in this cell so the parent item can be expanded/colapsed.

Declaration

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

Property Value

bool

CellText

The text of this Grid data cell.

Declaration

cs-api-definition
public string CellText { get; }

Property Value

string

LocatorExpression

Get the locator IFindExpression.

Declaration

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

Property Value

IFindExpression

Overrides Control.LocatorExpression

ParentItemIndex

The parent data item index.

Declaration

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

Property Value

int

Selected

Get whether the cell is selected.

Declaration

cs-api-definition
public bool Selected { 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 HtmlTableCell.AssignElement(Element)

Cancel()

Performs 'cancel editing' action when in edit mode.

Declaration

cs-api-definition
public void Cancel()

CancelLite()

Performs 'cancel editing' action when in edit mode.

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use Cancel instead.", false)]
public void CancelLite()

ClientSelectCheckBoxClick()

Client select column check box click to select/unselect the item. Throws InvalidOperationException if the client select column is not available.

Declaration

cs-api-definition
public void ClientSelectCheckBoxClick()

ControlAssert()

Returns RadControlAssert instance initialized for this control.

Declaration

cs-api-definition
public RadControlAssert ControlAssert()

Returns

RadControlAssert

RadControlAssert instance initialized for this control.

DeleteButtonClick()

Built-in 'Delete' button click to delete the item. Throws InvalidOperationException if the delete button cannot be located.

Declaration

cs-api-definition
public void DeleteButtonClick()

DeleteButtonClickLite()

Built-in 'Delete' button click to delete the item. Throws InvalidOperationException if the delete button cannot be located.

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use DeleteButtonClick instead.", false)]
public void DeleteButtonClickLite()

DeleteRecord(string)

Built-in 'Delete' button click to delete the item.

Declaration

cs-api-definition
public void DeleteRecord(string item)

Parameters

item

string

EditButtonClick()

Built-in 'Edit' button click to put the item in edit mode. Throws InvalidOperationException if the edit button cannot be located.

Declaration

cs-api-definition
public void EditButtonClick()

EditButtonLiteClick()

Built-in 'Edit' button click to put the item in edit mode. Throws InvalidOperationException if the edit button cannot be located.

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use EditButtonClick instead.", false)]
public void EditButtonLiteClick()

ExpandCollapseButtonClick()

Expand/collapse button click to expand/collapse the item in Grid hierarchy mode. Throws InvalidOperationException in case of a plain Grid.

Declaration

cs-api-definition
public void ExpandCollapseButtonClick()

ExpandCollapseButtonMobileClick()

Expand/collapse button click to expand/collapse the item in Grid hierarchy mode. Throws InvalidOperationException in case of a plain Grid.

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use ExpandCollapseButtonClick instead.", false)]
public void ExpandCollapseButtonMobileClick()

UndoDeleteButtonClick()

Built-in 'Undo Delete' button click to put the item in edit mode. Throws InvalidOperationException if the edit button cannot be located.

Declaration

cs-api-definition
public void UndoDeleteButtonClick()

Update()

Performs 'update item' action when in edit mode.

Declaration

cs-api-definition
public void Update()

UpdateLite()

Performs 'update item' action when in edit mode.

Declaration

cs-api-definition
[Obsolete("This method is obsolete. Use Update instead.", false)]
public void UpdateLite()