I suggest to allow developers to customize the GridColumnGroup header.
Custom column group headers should be a built-in feature of the RadGrid.
Hi IT Service,
One possible approach is to add plain HTML in the HeaderText of the ColumnGroup. That way you can render a custom <input type="image"> element in the DOM that can act like an asp:ImageButton.
For instance:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
var headerGroups = RadGrid1.MasterTableView.ColumnGroups;
var group1 = headerGroups.FindGroupByName("Group1");
group1.HeaderText = "<input type ='image' src='info.png' class='imageButton' onclick='imageButtonClick(this,event);'/>";
}
Best Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.