This is a migrated thread and some comments may be shown as answers.

How to Set ISInEditMode True In Radgrid

1 Answer 342 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mehul Dumasia
Top achievements
Rank 1
Mehul Dumasia asked on 29 Apr 2010, 06:01 AM
i wanto true ISInEditMode property of RadGrid But Its Give Below message.

Property or indexer 'Telerik.Web.UI.GridItem.IsInEditMode' cannot be assigned to -- it is read only 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Apr 2010, 07:30 AM
Hi Mehul,

Use the Edit property of GridDataItem in order to put the row in EditMode.

C#:
 
    GridItem item = (GridItem)RadGrid1.MasterTableView.Items[0]; // Get the first item 
    item.Edit = true// Set in EditMode 
    RadGrid1.MasterTableView.Rebind(); 

Regards,
Princy.
Tags
Grid
Asked by
Mehul Dumasia
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or