We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

change Column Header text got error

Thread ID:





19653 Sep 30,2004 04:49 PM UTC Sep 30,2004 05:51 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 30, 2004 04:49 PM UTC

When I use following statement to change first column''s header text in a button click event, I got error saying "An Unhandled exception of type ''System.NullReferenceException'' occured in syncfusion.grid.grouping.dll". I am using GridGroupingControl. string sHeader="New Header"; gdBase.TableDescriptor.Column[0].HeaderText=sHeader Any idea? TIA

Administrator [Syncfusion]
Replied On September 30, 2004 05:51 PM UTC

I tried to see this problem in this little sample, and could not see it using GGCHeaderText_5639.zip What version are you using? What is the state of your groupinggrid when you press the button (is the column visible or not? are things grouped by ths column or not? that kind of thing...)?


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon