Posted 8 January 2026, 4:54 am EST
Hi,
Migrate from 2010v1 to 2025v2 399 in ASP.NET WebForms NET Framework 4.8.1.
Using C1GridView from C1.Web.Wijmo.Controls.48.dll
Now, this not compiles:
col.AllowGroup = false; // NOT COMPILES
Which is the alternative now, for GridView 2025v2 399
I use :
col.GroupInfo.GroupSingleRow = false;
Full code:
// NEW
//var colCommand = new C1CommandField();
var colCommand = new C1.Web.Wijmo.Controls.C1GridView.C1CommandField();
colCommand.ItemStyle.Width = 40;
colCommand.ShowEditButton = true;
colCommand.ButtonType = ButtonType.Image;
colCommand.EditImageUrl = "~/App_Themes/Content/Imagenes/editing.gif";
colCommand.CancelImageUrl = "~/App_Themes/Content/Imagenes/cancel.gif";
colCommand.UpdateImageUrl = "~/App_Themes/Content/Imagenes/accept.gif";
colCommand.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
this.C1GridView1.Columns.Add(colCommand);
// NEW
//var col = ((C1BoundField)this.C1GridView1.Columns[0]);
var col = ((C1.Web.Wijmo.Controls.C1GridView.C1BoundField)this.C1GridView1.Columns[0]);
col.Visible = true;
col.RowMerge = C1.Web.Wijmo.Controls.C1GridView.RowMerge.Free; // RowMerge.Free;
// NEW
col.GroupInfo.GroupSingleRow = false;
col.AllowGroup = false; // NOT COMPILES
Any suggestions?
thanks, regards
