This is a migrated thread and some comments may be shown as answers.

RadAjaxLoadingPanel shows only for the first button

1 Answer 27 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ibrahim
Top achievements
Rank 1
Ibrahim asked on 20 Aug 2013, 12:11 AM
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

1 Answer, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 22 Aug 2013, 01:11 PM
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.
Tags
Ajax
Asked by
Ibrahim
Top achievements
Rank 1
Answers by
Venelin
Telerik team
Share this question
or