Skip to main content
A newer version of this page is available. .

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.v19.2.dll

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