Hello,
I've a XamWebGrid with EditSettings
<igGrid:EditingSettings AllowEditing="Row" IsMouseActionEditingEnabled="DoubleClick" IsOnCellActiveEditingEnabled="False" />
In the event RowExitingEditMode I want to ask a confirmation that the row must be updated. The problem is that I can't use the standard MessageBox because the confirmation window must have an option 'Do not show again'. When this option is once checked the confirmation must not be shown again. Now I'm using a ChildWindow in RowExitingEditMode event. How can I cancel the update in the called Action response method? I can call grid.ExitEditMode(true) but the data is still changed in the grid. Do I need to reload the data? Thanks in advance, Arjan
In the event RowExitingEditMode I want to ask a confirmation that the row must be updated.
The problem is that I can't use the standard MessageBox because the confirmation window must have an option 'Do not show again'.
When this option is once checked the confirmation must not be shown again.
Now I'm using a ChildWindow in RowExitingEditMode event. How can I cancel the update in the called Action response method?
I can call grid.ExitEditMode(true) but the data is still changed in the grid. Do I need to reload the data?
Thanks in advance,
Arjan
I have been looking into your question and after investigating the possible solutions I can recommend you re-applying your data source in order to reverse the changes made while the cell was in edit mode.
Since the ability to row back the edit mode changes is useful and will make the control more flexible, so it has been determined to be a new Product Idea. I have sent this feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12050044.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
OK, thanks for the info.
I solved this now by saving an instance of the object to modify on RowEnteredEditMode and use this instance to roll back the changes if Cancel is pressed on confirmation.