I'm trying to rename a dg column header text at runtime. dg.Columns(1).HeaderText = "TEXT" I cannot seem to get the headertext to change. I've tried it in the RowDataBound event and no luck. tried on page load and no luck. I get no error but the header text doesn't change. I have auto generate columns set to false.
Any help would be appreciated
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.