My radgrid have AllowAutomaticInserts and AllowAutomaticUpdates set to True.
Meanwhile user editing item, it is raised event that causes the end of editing item. In the Page PreRender, i wrote following code:
if (!clauseEdit && dgImpegni.EditItems.Count > 0)
{
dgImpegni.EditItems[0].Edit = false;
}
dgImpegni.Rebind();
Can i write similar code for the insert item ?