I have a Radgrid with auto generated columns = "True" and I would like to change the header text programmatically at the Detail table levels when the radgrid loads at page load. How would I accomplish this? I figured simply utilizing the code shown below would work, but it doesn't do anything. The page just loads with no errors, and the text does not change on the header. However, when I change the text programmatically in the root level of the radgrid it works, but does not work at the detail levels. Please Help!
'''I tried this code in the PreRender and ItemDataBound Events. But it does not work. Text does not change....
Radgrid_CRGList.MasterTableView.DetailTables(1).DetailTables(0).GetColumn("UniqueName").HeaderText = "Custom Header Text"
'''I tried this code in the PreRender and ItemDataBound Events. But it does not work. Text does not change....
Radgrid_CRGList.MasterTableView.DetailTables(1).DetailTables(0).GetColumn("UniqueName").HeaderText = "Custom Header Text"