Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
After execution undo command, I want to handle for db saving...
posted

Hello!

As you see subject, I want to handle "After Execution Undo Command" event for DB saving...

XamDataGrid can support Handle through ExecutedCommand..

but. 

"Infragistics.Windows.Controls.Events.ExecutedCommandEventArgs e" is supporting only command properties not undo contents...

How can I handle that event?

thank you...

Parents
No Data
Reply
  • 16495
    Offline posted


    Hello Huyng,

    If I understood correctly your requirement is to update the Database after the Undo command was executed. If my assumption is correct I can suggest to call the method you are using for updating the DB in the ExecutedCommand event handler of XamDataGrid. I have attached a simple sample application, where you can see how to update the DB after Undo  command.

    If you would like to read additional information regarding how to implement CRUD operation on our grid  I suggest to read the 'Implementing CRUD in the Infragistics XamDataGrid' topic.

    Please let me know if you have any questions.

    Sincerely,
    Zhivko
    Associate Software Developer

Children
No Data