Change structure of DataSource from without of Designer

Stimulsoft Reports.NET discussion
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Change structure of DataSource from without of Designer

Post by LukasT »

... sorry, but this does not invoke refreshing/repainting of Data Sources visual tree in Designer... :-(
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Change structure of DataSource from without of Designer

Post by Alex K. »

Hello,

It seems we do not understand your problem. If you want to reproduce the Synchronize button, it is enough to call the code

Code: Select all

report.Dictionary.Synchronize();
If you want to change the method (your own method refreshing/repainting of Data Sources visual tree), then you can subscribe to it

Code: Select all

StiOptions.Engine.GlobalEvents.ReportSynchronized += new EventHandler(GlobalEvents_ReportSynchronized);
Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Change structure of DataSource from without of Designer

Post by LukasT »

Hello Aleksey,
I have two threads... in first is running Designer and in second I have my application, where I can modify my data structure... but if I call Synchronize(), it doesn't refresh visual tree of dataSources tree in running Designer... is this clear?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Change structure of DataSource from without of Designer

Post by Alex K. »

Hello,

Please send us a simple test application which reproduces the issue on support@stimulsoft.com

Thank you.
Post Reply