GetDataSource and ICustomTypeDescriptor
danni
Denmark
Hi
I use ICustomTypeDescriptor to define properties for report data.
I cannot enable datasource using:
Does the method GetDataSurce check for ICustomTypeDescriptor?
Thanks
I use ICustomTypeDescriptor to define properties for report data.
I cannot enable datasource using:
report.GetDataSource(reportDataName + ".Brevfletningsdata").Enabled = true;
Does the method GetDataSurce check for ICustomTypeDescriptor?
Thanks
Comments
ICustomTypeDescriptor is fully supported. You probably should register the datasource with maxNestingLevel param set to 2 or more:
report.RegisterData(ds, "mydatasource", 2);
Thanks - Works fine now :-)