has field value changed... ?


Author
Message
Philipp Guntermann
Philipp Guntermann
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 141, Visits: 263
hi, i am overriding the onbeforesave event on a bo and i need to check that if in editing-mode, wether a value of a specific field was changed by the user or not. like:


protected override void OnBeforeSave(MicroFour.StrataFrame.Data.BeforeSaveUndoEventArgs e)
{
    if (this.EditingState == BusinessEditingState.Adding)
    {
         if (this.custno.hasChanged)
         {
              // do something
         }
         else
         {
              // do something else
         }  
    }
    base.OnBeforeSave(e);
}

any ideas ? thanks.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search