Back to Devexpress

BlazorModificationsController Class

expressappframework-devexpress-dot-expressapp-dot-blazor-dot-systemmodule-543c5bcb.md

latest3.0 KB
Original Source

BlazorModificationsController Class

Inherits from the ModificationsController to implement ASP.NET Core Blazor specific behavior.

Namespace : DevExpress.ExpressApp.Blazor.SystemModule

Assembly : DevExpress.ExpressApp.Blazor.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Blazor

Declaration

csharp
public class BlazorModificationsController :
    ModificationsController
vb
Public Class BlazorModificationsController
    Inherits ModificationsController

Remarks

The BlazorModificationsController adds the following functionality to the base ModificationsController:

  • Save Action

  • Save and New Action

  • Save and Close Action

  • Cancel Action

The DevExpress.ExpressApp.Blazor.SystemModule.BlazorModificationsController.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:

csharp
DevExpress.ExpressApp.FrameworkSettings.DefaultSettingsCompatibilityMode = DevExpress.ExpressApp.FrameworkSettingsCompatibilityMode.v23_1;

Implements

ISupportUpdate

Inheritance

Object MarshalByRefObject Component Controller ViewController ViewController<ObjectView> ObjectViewController ModificationsController BlazorModificationsController

See Also

BlazorModificationsController Members

DevExpress.ExpressApp.Blazor.SystemModule Namespace