Page 1 of 1

Cache preview events

Posted: Thu Apr 14, 2011 1:05 am
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

Cache preview events

Posted: Fri Apr 15, 2011 3:18 am
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.