Trigger RadAjaxLoadingPanel from RadWizard Finish Button

2 posts, 0 answers
  1. Chris
    Chris avatar
    8 posts
    Member since:
    Feb 2014

    Posted 01 Oct 2015 Link to this post



    I have a content page with a RadWizard and a RadAjaxManagerProxy. In my MasterPage, I have a RadAjaxLoadingPanel that's used globally.

    I would like to trigger the RadAjaxLoadingPanel when the "Finish" button in the RadWizard has been fired. As you can see from my code below, I tried adding a reference to the wizard from itself in the Proxy with the loadingPanel ID but it doesn't work, so I'm guessing I have to wire it up through jquery in my OnClientButtonClicking() function?



    <body class="index">
        <form id="form1" runat="server">
            <!-- Script Manager -->
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <!-- Ajax Manager -->
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="defaultLoadingPanel">
            <!-- Default Loading Panel -->
            <telerik:RadAjaxLoadingPanel ID="defaultLoadingPanel"
                Skin="MetroTouch" />


    Content Page: 

    <!-- Javascript -->
    <script type="text/javascript">
            function OnClientButtonClicking(sender, args) {
                var command = args.get_command();
                if (command == 3) {
                    args.set_cancel(!window.confirm("<% =CancelMessage %>"));
    <!-- AJAX Proxy Manager -->
    <telerik:RadAjaxManagerProxy runat="server" ID="ajaxProxy">
            <telerik:AjaxSetting AjaxControlID="wizOrganization">
                    <telerik:AjaxUpdatedControl ControlID="wizOrganization" LoadingPanelID="defaultLoadingPanel" />
    <telerik:RadWizard runat="server" ID="wizOrganization"
            <telerik:RadWizardStep runat="server"
            <telerik:RadWizardStep runat="server"
            <telerik:RadWizardStep runat="server"


    Thanks for your help!


  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 06 Oct 2015 Link to this post

    Hello Chris,

    Please review the LoadingPangel documentation how to show and hide the control. When the loading panel is related with an ajax manager or panel it will be shown only if an ajax postback occurs. 

    Peter Filipov
  3. DevCraft R3 2016 release webinar banner
Back to Top