Hi,
Can you help me in how to Put All Items in Edit Mode but AutoGeneratedDeleteColumn and insert template in a radgrid with MasterTableView editmode="batch".
I am using the following code to put all items in edit mode but the AutoGeneratedDeleteColumn does not work (I can´t see it) and when I try to insert new items have the same behavior(I can´t see the columns).
ThanksCan you help me in how to Put All Items in Edit Mode but AutoGeneratedDeleteColumn and insert template in a radgrid with MasterTableView editmode="batch".
I am using the following code to put all items in edit mode but the AutoGeneratedDeleteColumn does not work (I can´t see it) and when I try to insert new items have the same behavior(I can´t see the columns).
private
void
RadGrid1_PreRender(
object
sender, System.EventArgs e)
{
if
(!IsPostBack)
{
foreach
(GridItem item
in
RadGrid1.MasterTableView.Items)
{
if
(item
is
GridEditableItem)
{
GridEditableItem editableItem = item
as
GridDataItem;
editableItem.Edit =
true
;
}
}
RadGrid1.Rebind();
}
}