Page 1 of 1
StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Wed Aug 15, 2012 11:49 am
by LukasT
Hello,
StiReport.Dictionary.Synchronize() is not refreshing items in expanded DataSource tree.... to see new items I have to collapse DataSource tree and than expand it again....
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Thu Aug 16, 2012 6:47 am
by HighAley
Hello.
When do you call Synchronize() method? Please, describe your issue more detailed.
Thank you.
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Mon Aug 20, 2012 6:50 am
by LukasT
We have some utility for creation report data source and when it has changed, I have to synchronize it with DataSource in StiReport... so I am calling this procedure:
designer.Report.Dictionary.Clear();
designer.Report.RegData("dataSource", reportDataSet);
designer.Report.Dictionary.Synchronize();
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Tue Aug 21, 2012 6:33 am
by HighAley
Hello.
This part of code is right but we need to see your full code listing. Because we couldn't see where do you call Designer. And at what time do you try to synchronize dictionary.
Thank you.
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Tue Aug 21, 2012 8:06 am
by LukasT
I can't send you full code listing....
More details.... I have winform designer hosted in WPF application. Designer is loaded in first tab. During working I can switch into second tab, where I have our data source generator... there I can add new columns and when I switch back to Designer, I am calling this synchronize procedure.... In case of using WPF Designer it works as I am expecting...
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Wed Aug 22, 2012 6:08 am
by HighAley
Hello.
Please, try to call designer.InvokeRefreshDictionary() after synchronizing dictionary.
Thank you.
Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Wed Aug 22, 2012 7:19 am
by LukasT
Great! This is it.... thank you

Re: StiReport.Dictionary.Synchronize() is not synchronizing
Posted: Thu Aug 23, 2012 3:35 am
by Andrew
Hello,
Great! Have a nice day!
Thank you.