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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

combobox and GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

57321 Mar 1,2007 12:39 PM UTC Mar 1,2007 05:52 PM UTC Windows Forms 1
loading
Tags: GridControl
Ray
Asked On March 1, 2007 12:39 PM UTC

I was trying to load a GGC with comboboxes. However, I found that I had to load the GGC before I could use it in a button callback. Otherwise, I receive a "Object reference not set to an instance of an object." error. I am not sure why I have to load the GGC in the constructor. I have included an example. Why do I have to load the GGC early?

Thanks

Ray.

GridLoad.zip

Administrator [Syncfusion]
Replied On March 1, 2007 05:52 PM UTC

Hi Ray,

Try calling the ReInitialize method after setting the underlying datasource of the grid. Please try the modified attached sample and let me know if this helps.

_Grid.DataSource = dt;
_Grid.Reinitialize();

Here is a modified sample.
GridLoad_9f349857.zip

Best regards,
Haneef

CONFIRMATION

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.

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

;