Page 2 of 2

Change structure of DataSource from without of Designer

Posted: Mon Oct 04, 2010 9:20 am
by LukasT
... sorry, but this does not invoke refreshing/repainting of Data Sources visual tree in Designer... :-(

Change structure of DataSource from without of Designer

Posted: Tue Oct 05, 2010 1:58 am
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.

Change structure of DataSource from without of Designer

Posted: Tue Oct 05, 2010 5:59 am
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?

Change structure of DataSource from without of Designer

Posted: Tue Oct 05, 2010 6:09 am
by Alex K.
Hello,

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

Thank you.