Hello,
I have a RadGrid control with a GridTemplateColumn. I need to hide an "Action" TemplateColumn in Edit mode and to display that colum in normal mode. I defined the following ItemDatabound event to hide the "Action" TemplateColumn:
What should I do to display the action TemplateColumn when the user will leave the edit mode ? In other words, how to determine if a row is already in edit mode ?
Thanks,
Steven
I have a RadGrid control with a GridTemplateColumn. I need to hide an "Action" TemplateColumn in Edit mode and to display that colum in normal mode. I defined the following ItemDatabound event to hide the "Action" TemplateColumn:
protected void oRgRoulement_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) { // Hide the Action TemplateColumn in edit mode if (e.Item is GridEditableItem && e.Item.IsInEditMode) (oRgRoulement.MasterTableView.GetColumn("Action") as GridTemplateColumn).Visible = false; }What should I do to display the action TemplateColumn when the user will leave the edit mode ? In other words, how to determine if a row is already in edit mode ?
Thanks,
Steven