RadGrid for ASP.NET

RadGrid Send comments on this topic.
Edit Property
See Also 
Telerik.WebControls Namespace > GridItem Class : Edit Property


Sets the Item in edit mode. Requires Telerik RadGrid to rebind.   

 

Namespace: Telerik.WebControls
Assembly: RadGrid (in RadGrid.dll)

Syntax

Visual Basic (Declaration) 
Public Overridable Property Edit As Boolean
Visual Basic (Usage)Copy Code
Dim instance As GridItem
Dim value As Boolean
 
instance.Edit = value
 
value = instance.Edit
C# 
public virtual bool Edit {get; set;}

Example

We suggest using IsInEditMode instead of Edit to check whether an Item is in edit more or not.

Remarks

If GridTableView.EditMode is set to InPlace, the grid column editors will be displayed inline of this item.

If GridTableView.EditMode is set to InForms, a new GridItem will be created, which will be child of this item. The new item will hold the edit form.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also