New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents an client-side operation (e.g. adding an item, removing an item, updating an item etc.)

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Type Parameters:

T

The type of the item (e.g. RadTreeNode, RadMenuItem, RadComboBoxItem, RadToolBarItem, RadTab, RadPanelItem)

Syntax:

C#
public class ClientOperation<T> where T : ControlItem

Inheritance: objectClientOperation<T>

Derived Classes: ReorderClientOperation<T>UpdateClientOperation<T>

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public ClientOperation()

Properties

Returns the item (RadTreeNode, RadMenuItem, RadComboBoxItem, RadToolBarItem, RadTab, RadPanelItem) associated with this client operation.

C#
public T Item { get; }

When the Type of the operation is Clear the Item property will return null (Nothing in VB.NET) in case the items of the control have been cleared.

Gets the type of the client operation

C#
public ClientOperationType Type { get; }
Property Value:

One of the ClientOperationType enumeration values.

If the Type property is equal to Update the UpdateClientOperation<T> type will be used.