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

[Solved] Disable edit mode on clicking a button inside the Radgrid

1 Answer 373 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Siva
Top achievements
Rank 1
Siva asked on 03 Apr 2013, 01:39 PM
Hi
     When i press the edit button in the radgrid, the grid enters a Inplace Editmode. wat i want is when i click on a button in that particular editable row , the edit mode is set to false.. Help me with the code . Thanx in Advance..

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 04 Apr 2013, 05:14 AM
Hi,

Try the following code.
C#:
protected void Button1_Click(object sender, EventArgs e)
{
        foreach (GridEditableItem item in RadGrid1.EditItems)
        {
            item.Edit = false;
        }
}

Thanks,
Shinu.
Tags
Grid
Asked by
Siva
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or