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

inplace editing

1 Answer 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
beeta one
Top achievements
Rank 1
beeta one asked on 11 Sep 2012, 12:00 PM
hi,
How can I show inplace editing of radgrid items on checked of a checkbox inside template column?

thnks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Sep 2012, 12:09 PM
Hi,

Please try the following code snippet to put an item in edit mode on CheckedChanged.

C#:
protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
    CheckBox check = (CheckBox)sender;
    GridDataItem item = (GridDataItem)check.NamingContainer;
    item.Edit = true;
    radGrid1.Rebind();
}

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