Page 1 of 1

Silverlight designer DB support

Posted: Fri Sep 16, 2011 3:54 am
by kseen
Hi!
Is there any possibility in Silverlight designer to work with DB reports instead of file reports? Firstly, designer should load report from table in database, then after user has edited the report designer saves it back to table in DB. Reports stored in BLOB field of table.
Thanks in advance!

Silverlight designer DB support

Posted: Mon Sep 19, 2011 7:27 am
by Alex K.
Hello,

Yes, it is possible. You can save reports in the database as a string or byte array.
To save in the database, you can subscribe to the event of saving a report
StiOptions.Engine.GlobalEvents.SavingReportInDesigner

and, in this event, to save the report in its database
report.SaveToByteArray
report.SaveToString

Thank you.