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 12:37AM
    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 12:37AM
    Doh... he he.
    Thanks - Works fine now :-)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.