ASPxLoadingPanel.ContainerElementID Property
In This Article
Gets or sets the ID of a web control or HTML element with which the current ASPxLoadingPanel is associated.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v25.1.dll
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
String | String. |
A string value specifying the ID of the web control or HTML element which the ASPx |
#Remarks
Define the ContainerElementID property to display the ASPxLoadingPanel in the center of the web control or the HTML element. If the ContainerElementID property is not defined, the ASPxLoadingPanel covers the page and is displayed in the center.
Note
If the Container
<dx:ASPxLoadingPanel ID="ASPxLoadingPanel1" runat="server"
ClientInstanceName="lPanel" ContainerElementID="myDiv" Modal="True" ...>
</dx:ASPxLoadingPanel>
<div style="width:500px; height:300px; border: 1px solid red;" id="myDiv">
TEST
</div>
<dx:ASPxButton ID="ASPxButton1" runat="server" Text="ASPxButton"
AutoPostBack="False">
<ClientSideEvents Click="function(s, e) {
lPanel.Show();
}" />
</dx:ASPxButton>
See Also