Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
How to change the Column Header Text from Columns in a GroupField?
posted

Before I chanced my columns into two separate GroupFields I could change the Column Header Text, but now the option to change the Header Text at runtime is gone.

Before Working Code

((Infragistics.Web.UI.GridControls.WebDataGrid)FormViewLead.FindControl("WebDataGrid")).Columns["column1"].Header.Text = "Column 1";

But now that they are Groupped

((Infragistics.Web.UI.GridControls.WebDataGrid)FormViewLead.FindControl("WebDataGrid")).FindControl("GroupField_1").???

 

Any guidence is appreciated.
Thank you