Ticket S34255
Visible to All Users

Core - Support the capability to save all changes automatically (disable all confirmation requests)

Answers approved by DevExpress Support

created 12 years ago (modified 4 years ago)

We have implemented the functionality described in this ticket. It will be included in our next update(s).

Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

Additional information:

Now you can set the ModificationsController.ModificationsHandlingMode property to AutoCommit, and all changes will be committed automatically without displaying any confirmations when a user closes the View or changes the current object.

To remove confirmation requests from ASP.NET apps, use the solution described here: T336681 - Remove save confirmations message

    Comments (3)
    AS AS
    Abdelrahman Saeed 9 years ago

      I have a problem AutoRoll back doesn't seem to work in my case, I'm trying to remove the confirmation because I don't want this object to be save no matter what, I managed to remove save, save and close, save and new buttons but I can't manage to remove the confirmation message. this object is supposed to be like a calculator and it shouldn't be save, and it inherits persistent class so I can't just make it non persistent.
      Partial Public Class UnBindCalculationSheetController
         Inherits ViewController
         Public Sub New()
             InitializeComponent()
         End Sub
         Protected Overrides Sub OnActivated()
             MyBase.OnActivated()
             Frame.GetController(Of DevExpress.ExpressApp.SystemModule.ModificationsController).SaveAction.Active.SetItemValue("Can't Save", False)
             Frame.GetController(Of DevExpress.ExpressApp.SystemModule.ModificationsController).SaveAndNewAction.Active.SetItemValue("Can't Save", False)
             Frame.GetController(Of DevExpress.ExpressApp.SystemModule.ModificationsController).SaveAndCloseAction.Active.SetItemValue("Can't Save", False)
             Frame.GetController(Of DevExpress.ExpressApp.SystemModule.ModificationsController).ModificationsHandlingMode = ModificationsHandlingMode.AutoRollback
         End Sub

      Dennis Garavsky (DevExpress) 9 years ago

        Hello Abdelrahman Saeed,

        To process your recent post more efficiently, I created a separate ticket on your behalf: T336736: Trying to remove the capability to save a persistent object and avoid any save confirmations with ModificationsHandlingMode.AutoRollback. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.