Cache preview events

Stimulsoft Reports.NET discussion
Post Reply
Tomer
Posts: 5
Joined: Wed Mar 04, 2009 3:23 am

Cache preview events

Post by Tomer »

I'm opening preview by "report.Show(true);"
I'm allowing to edit textbox in preview mode.
How is it possible to cache in preview mode the events:

Tool Editor
Close button

Is it possible to know after pressing Close button if the user made any changes in one of editable textbox (report.IsModified propertie is always false)

Thanks,
Tomer
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Cache preview events

Post by Alex K. »

Hello Tomer,

There are no ready-made methods, and there are no events. But using these methods

Code: Select all

report.SaveEditableFields(Stream stream)
report.LoadEditableFields(Stream stream) 
you can create editable fields before and after and then analyze whether the fields were changed.

Thank you.
Post Reply