Skip to main content
All docs
V24.2
.NET 8.0+
  • The page you are viewing does not exist in the .NET Framework 4.6.2+ platform documentation. This link will take you to the parent topic of the current section.

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

public class BlazorModificationsController :
    ModificationsController

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;

Implements

See Also