GetDataSource and ICustomTypeDescriptor

dannidanni Denmark
edited February 2010 in FastReport .NET
Hi

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

  • edited 3:01AM
    Hello,

    ICustomTypeDescriptor is fully supported. You probably should register the datasource with maxNestingLevel param set to 2 or more:
    report.RegisterData(ds, "mydatasource", 2);
  • dannidanni Denmark
    edited 3:01AM
    Doh... he he.
    Thanks - Works fine now :-)

Leave a Comment