Skip to main content

LoadingPanelSettings.ContainerElementID Property

Gets or sets the ID of an element with which the current LoadingPanel is associated.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public string ContainerElementID { get; set; }

Property Value

Type Description
String

A String value specifying the ID of the element.

Remarks

Define the ContainerElementID property to display the LoadingPanel above the element. If the ContainerElementID property is not defined, the LoadingPanel covers the page.

Example

View code (ASPX):

<%
     Html.DevExpress().LoadingPanel(
          settings => {
               settings.Name = "LoadingPanel";
               settings.Modal = true;
               settings.ContainerElementID = IsDisplayedOverPanel ? "Panel" : "";
     })
     .Render();
%>
See Also