protected void grv_responsibility_HtmlRowPrepared(object sender, ASPxGridViewTableRowEventArgs e) { if (e.RowType == GridViewRowType.Group) { ASPxGridView grid = sender as ASPxGridView; ASPxLabel groupname = grid.FindGroupRowTemplateControl(e.VisibleIndex, "lbl_groupname") as ASPxLabel; ReadOnlyCollection <GridViewDataColumn> groupcollection = grid.GetGroupedColumns(); foreach (GridViewDataColumn column in groupcollection) { groupname.Text = column.Caption + ": " + grid.GetRowValues(e.VisibleIndex, column.FieldName); } ASPxButton button = new ASPxButton(); } }