Trying to add a text box and button into a Column Group Header server side and can't seem to get to the cell of the specific header. I know how to set the text and all but want to place controls into the header.
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
foreach (GridColumnGroup cg in RadGrid1.MasterTableView.ColumnGroups)
{
if (cg.Name == "HeaderGroupName")
{
cg.HeaderText = "TEST";
}
}
}
Was able to do what I needed by injecting html into the cg.HeaderText property. Interested to know if there is a better way?