or
.RadGrid_Sunset .rgGroupHeader td p{ color:#FF6633 !important;}var master = $find(gridID).get_masterTableView(); master.fireCommand("InitInsert", "");Grid correctly creates a new row but I never get to ItemCommand handler in codebehind. Why?
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridEditableItem && e.Item.IsInEditMode) { RadDatePicker StartDate = (RadDatePicker)e.Item.FindControl("DateofCommencement"); RadNumericTextBox Duration = (RadNumericTextBox)e.Item.FindControl("Duration"); RadDatePicker EndDate = (RadDatePicker)e.Item.FindControl("DateofCompletion"); Duration.Attributes.Add("onblur", string.Format("changeEndDate('{0}','{1}','{2}','{3}','{4}');", StartDate.ClientID, Duration.ClientID, EndDate.ClientID, Dtcomm, Dtcomplete)); } }