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

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.

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

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

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