Skip to main content

Loading Panel

LoadingPanel is a panel that is displayed while a callback is processing, helping to prevent the end user from clicking away before the callback has been completed.

Run Demo

Implementation Details

LoadingPanel is realized by the LoadingPanelExtension class. Its instance can be accessed via the ExtensionsFactory.LoadingPanel helper method, which is used to add a LoadingPanel extension to a view. This method’s parameter provides access to the LoadingPanel‘s settings implemented by the LoadingPanelSettings class, allowing you to fully customize the extension.

The LoadingPanel‘s client counterpart is represented by the ASPxClientLoadingPanel object.

Declaration

The LoadingPanel can be added to a view in the following manner.

<div id="Panel" >
    ...
</div>

@Html.DevExpress().LoadingPanel(
    settings => {
        settings.Name = "LoadingPanel";
        settings.Modal = true;
        settings.ContainerElementID = "Panel";
    }
).GetHtml()

The code result is demonstrated by the image below.

LoadingPanel - Declaration