I read this answer but it doesn't work for me
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 saved 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 saved, and it inherits persistent class so I can't just make it non persistent.
Visual BasicPartial 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