Skip to main content

ASPxClientLoadingPanel.Show Method

Invokes the loading panel.

Declaration

Show(): void

Remarks

Use the Show method on the client side to display the loading panel. The loading panel’s display position can be defined by the ASPxLoadingPanel.ContainerElementID, ASPxLoadingPanel.HorizontalOffset and ASPxLoadingPanel.VerticalOffset properties. If the ASPxLoadingPanel.ContainerElementID property is not set, the loading panel is displayed at the browser window’s center.

<dx:ASPxLoadingPanel ID="ASPxLoadingPanel1" runat="server" ClientInstanceName="lp">
</dx:ASPxLoadingPanel>

<dx:ASPxButton ID="btnShow" runat="server" AutoPostBack="False" Text="Show"
    ClientInstanceName="button" >
    <ClientSideEvents Click="function(s, e) { lp.Show(); }" />
</dx:ASPxButton>

<dx:ASPxButton ID="btnHide" runat="server" AutoPostBack="False" 
                Text="Hide" ClientInstanceName="button" >
    <ClientSideEvents Click="function(s, e) {
        lp.Hide();
    }" />
</dx:ASPxButton>  

Online Example

View Example: How to show a loading panel on page load

See Also