Error in Grid Grouping Control setting datasource to IList object

When I set the Datasource of the Grid Grouping Control to an IList object I get the following error. The object also implements:
IList, IBindingList, IListSource, ITypedList


Before setting the DataSource, I''ve tried setting the DataMember to "DefaultView" with the same results.

Also, I''m setting the TableDescriptor Columns myself using the valid members of the IList, as well as the Visible Columns.


I can use the same IList object to set the datasource of your WinForm GridGroupingControl, but the Web Version produces the following error:

(BTW: it would be VERY helpful, if the exception thrown would indicate the DataMember it was trying to access...)


System.Exception: A list corresponding to the selected DataMember was not found. at Syncfusion.Web.UI.WebControls.Grid.Grouping.GridEngineBase.GetResolvedDataSource(Object dataSource, String dataMember) at Syncfusion.Web.UI.WebControls.Grid.Grouping.GridEngineBase.GetResolvedDataSource() at Syncfusion.Web.UI.WebControls.Grid.Grouping.GridEngineBase.GetSourceListBase() at Syncfusion.Grouping.Engine.GetSourceList() at Syncfusion.Web.UI.WebControls.Grid.Grouping.GridEngineBase.set_DataSource(Object value) at Syncfusion.Web.UI.WebControls.Grid.Grouping.GridGroupingControl.set_DataSource(Object value) at

2 Replies

SI Sivakumar Syncfusion Team September 15, 2006 11:17 PM UTC

Hi Robin,

Can I know the Essential Studio version you are using?.

There was a issue When setting the Datasource of the Grid Grouping Control to an IList object till our 4.2.0.37 version and
it gets fixed in our 4.3.X version which will be relased early next week.

I will update you with more details about the 4.3 download link and other details soon here.


Thanks,
A.Sivakumar


ER Eric Robishaw September 18, 2006 03:13 PM UTC

I''m using 4.2.0.60


Loader.
Up arrow icon