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; }
Public Property ContainerElementID As String

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.

Examples

View code (ASPX):

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