BlazorModificationsController Class
Inherits from the ModificationsController to implement ASP.NET Core Blazor specific behavior.
Namespace: DevExpress.ExpressApp.Blazor.SystemModule
Assembly: DevExpress.ExpressApp.Blazor.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Blazor
Declaration
Remarks
The BlazorModificationsController
adds the following functionality to the base ModificationsController:
Save Action
Commits the changes made to the current object. This Action is hidden from List Views.
Save and New Action
Commits the changes made to the current object and creates a new object.
Save and Close Action
Commits the changes made to the current object and closes the current View.
Cancel Action
This Action is inactive in ASP.NET Core Blazor applications.
The ShowSaveButtonsInPopup property of BlazorModificationsController
manages the visibility of the Save and New and Save Actions in Popup Detail Views.
To hide these Actions and display the OK and Cancel buttons instead, navigate to the Program.cs file in your ASP.NET Core Blazor application and set the FrameworkSettingsCompatibilityMode property to v23_1
. See the code sample below:
DevExpress.ExpressApp.FrameworkSettings.DefaultSettingsCompatibilityMode = DevExpress.ExpressApp.FrameworkSettingsCompatibilityMode.v23_1;