RS
Rajarajeswari S
Syncfusion Team
October 18, 2007 03:06 PM UTC
Hi David,
Thanks for using Syncfusion products.
The text property of the button object can be updated by accessing the object which we assigned to the HeaderTemplate and TypeCast it to the appropriate class type.
Please refer the below code snippet to access the Template object.
TemplateButtonItem mytemp = ((TemplateButtonItem)this.GridGroupingControl1.TableDescriptor.Columns[3].HeaderTemplate);
then you can use the mytemp object to set the text property of the button
Please let me know if this helps you.
Regards,
S.Rajarajeswari