Problem in Silverlight Designer (client) constructor

Stimulsoft Reports.Silverlight discussion
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Problem in Silverlight Designer (client) constructor

Post by Andrew »

Hello,

Unfortunately, we cannot use anything else because we cannot save data as in .NET project. You need to make changes in you projects.

Thank you.
LuisC.Costa
Posts: 13
Joined: Tue Nov 16, 2010 11:24 am

Problem in Silverlight Designer (client) constructor

Post by LuisC.Costa »

Hi,

Well, that's your decision of course, but I would say that since the IsolatedStorageSettings object is a global object, you can not assume that it only contains objects placed there by your application, so you must be prepared to ignore those objects.

Anyway, I have discussed this internally and the decision was to explore other possibilities, meaning that the changes to the Framework are just too big, so we will not persue that path now.
So, if this is your final statement on the issue, unfortunately we will have to search for other products.

Thank you very much for your help.

Best Regards
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Problem in Silverlight Designer (client) constructor

Post by Andrew »

Hello,

The IsolatedStorageSettings class is the only place where you can save the settings in Sivlerlight. We can offer you two ways:
1. We can make a static property which will completely disable using saving settings in the entire project. In this case, you will not have problems in your project
2. We can add two static events, which will work when saving and loading settings, and you do them processed and stored where you want.

Thank you.
LuisC.Costa
Posts: 13
Joined: Tue Nov 16, 2010 11:24 am

Problem in Silverlight Designer (client) constructor

Post by LuisC.Costa »

Hi,

Thanks for the feedback.

One question: Where would those events be raised? I would need them on the client side in order for it to solve my problem...

Thank you.

Best Regards
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Problem in Silverlight Designer (client) constructor

Post by Alex K. »

Hello,

We have added a property:
Stimulsoft.Report.StiOptions.ApplicationSettings.SaveSettingsByUser
If to set this to true, the events will work:
Stimulsoft.Report.StiOptions.ApplicationSettings.LoadingApplicationSettings
Stimulsoft.Report.StiOptions.ApplicationSettings.SavingApplicationSettings

Solution will be available in prerelease build from 03-Jan-2011.
Please see the sample in attachment.

Thank you.
Attachments
761.SaveSettingsByUser.zip
(6.25 KiB) Downloaded 228 times
Locked