In my radgrid I am using a template for the insert form. The followinf are th RadGrid properties I have implemented:
ON click of Add New button, the template opens but it does not have a Insert/Cancel button.
this._RadGrid1.Skin = "WebBlue";
this._RadGrid1.Width = Unit.Percentage(100);
this._RadGrid1.GridLines = GridLines.None;
this._RadGrid1.AutoGenerateColumns = false;
this._RadGrid1.AllowSorting = true;
this._RadGrid1.GridLines = GridLines.None;
this._RadGrid1.PageSize = 100;
this._RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
this._RadGrid1.AllowPaging = true;
this._RadGrid1.AllowSorting = true;
this._RadGrid1.ClientSettings.DataBinding.EnableCaching = true;
this._RadGrid1.EnableLinqExpressions = false;
this._RadGrid1.MasterTableView.NoMasterRecordsText = string.Format("There are no records");
this._RadGrid1.MasterTableView.Width = Unit.Percentage(100);
this._RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;
this._RadGrid1.MasterTableView.DataKeyNames = new string[] { this._OrderTable.OrderIdColumn.ColumnName };
this._RadGrid1.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = true;
this._RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top;
this._RadGrid1.MasterTableView.CommandItemSettings.AddNewRecordText = "Add Order task";
this._RadGrid1.MasterTableView.AllowAutomaticInserts = false;
//this._RadGrid1.MasterTableView.EditFormSettings.UserControlName = "AddOrderTaskControl.ascx";
this._RadGrid1.MasterTableView.EditFormSettings.EditFormType = GridEditFormType.Template;
this._RadGrid1.MasterTableView.EditFormSettings.FormTemplate = new InsertFormTemplate(this._OrderRequestId, this._SourceSystemTypeId, false);
this._RadGrid1.InsertCommand += _RadGrid1_InsertCommand;
this._RadGrid1.ItemCommand += _RadGrid1_ItemCommand;
this._RadGrid1.NeedDataSource += RadGrid1_NeedDataSource;
ON click of Add New button, the template opens but it does not have a Insert/Cancel button.