e.SaveAs is true all the time...
Posted: Mon Mar 26, 2007 6:49 pm
Dear Sirs
I would like to ask U if I`m doing anything wrong, because I have some problems with SR behavior. I`m using version 2007.03.21 of SR. I wrote my own method for save and I have that problem... When the save event is fired... no matter if it is from "Save" or "SaveAs"... parameter StiSavingObjectEventArgs e.SaveAs is set on true all the time. What am I doing wrong? I thought that e.SaveAs is set to true only in case when it is fired from SaveAs action in designer. Is it bad idea or I`m something missing?
Thank you 4 your help
David
example of using...
private void StiDesigner_SavingReport(object sender, StiSavingObjectEventArgs e)
{
if ((this.stiReport.IsModified) || (e.SaveAs)) // and in this case e.SaveAs is true all tha time...
// TO DO Anything
}
I would like to ask U if I`m doing anything wrong, because I have some problems with SR behavior. I`m using version 2007.03.21 of SR. I wrote my own method for save and I have that problem... When the save event is fired... no matter if it is from "Save" or "SaveAs"... parameter StiSavingObjectEventArgs e.SaveAs is set on true all the time. What am I doing wrong? I thought that e.SaveAs is set to true only in case when it is fired from SaveAs action in designer. Is it bad idea or I`m something missing?
Thank you 4 your help
David
example of using...
private void StiDesigner_SavingReport(object sender, StiSavingObjectEventArgs e)
{
if ((this.stiReport.IsModified) || (e.SaveAs)) // and in this case e.SaveAs is true all tha time...
// TO DO Anything
}