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

Radgrid items Inplace editing

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Savyo
Top achievements
Rank 1
Savyo asked on 06 Oct 2012, 09:29 AM
Hi

Is there a way to show inplace editing of radgrid items on check of checkbox inside template column

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Oct 2012, 09:37 AM
Hi,

Try the following code to achieve your scenario.
C#:
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
        CheckBox chk = (CheckBox)sender;
        GridDataItem item = (GridDataItem)chk.NamingContainer;
        item.Edit = true;
        RadGrid1.Rebind();
}

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