RadAjaxLoadingPanel shows only for the first button

2 posts, 0 answers
  1. Ibrahim
    Ibrahim avatar
    1 posts
    Member since:
    Aug 2013

    Posted 19 Aug 2013 Link to this post

    I created this JS function that used for 3 client side buttons in their onclick functions

     function DeleteExam(ExmID) {
                if (confirm("Are you sure you want to delete this item?")) {
                    SetVars(ExmID, "");
                    $('#' + "<%=btnDeleteExam.ClientID%>").click();
                    return true;
                }
                else return false;
            }

    I used the button btnDeleteExam to update upDetails telerik:RadAjaxPanel like this

                <telerik:AjaxSetting AjaxControlID="btnDeleteExam">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="updDetails" LoadingPanelID="lpnlMiddle" />
                    </UpdatedControls>
                </telerik:AjaxSetting>

    now telerik:RadAjaxLoadingPanel "lpnlMiddle" shows only for the first button and doesn't show for the others
  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 22 Aug 2013 Link to this post

    Hi Ibrahim,

    Please refer to these Telerik online resources which describe how to show explicitly the AJAX Loading panel:

    1. Show/Hide RadAjaxLoadingPanel explicitly (help topic)

    2. Ajax - Explicit Show/Hide (online demo)

    I hope this helps.

    Regards,
    Venelin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top