I tried this code to iterate through all the cells in the datagrid to change its property
but it only changes the last row. What I'm I doing wrong?
protected void Page_PreRender(object sender, EventArgs e)
{
foreach (GridDataItem item in RadGrid1.Items)
{
item.Edit = true;
}
RadGrid1.Rebind();
}
Thanks,
{
foreach (GridDataItem item in RadGrid1.Items)
{
item.Edit = true;
}
RadGrid1.Rebind();
}
Thanks,