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

Sometimes Spining wheels keeps rotate is data is loaded in panel

1 Answer 9 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
darshan thacker
Top achievements
Rank 1
darshan thacker asked on 03 Sep 2012, 11:18 AM
I am using following call,s... any idea ? this is not consistent behavior

 <script language="javascript" type="text/javascript">
            var loadingPanel = "";
            var pageRequestManager = Sys.WebForms.PageRequestManager.getInstance();
            var postBackElement = "";
            pageRequestManager.add_initializeRequest(initializeRequest);
            pageRequestManager.add_endRequest(endRequest);

            function initializeRequest(sender, eventArgs) {
                loadingPanel = $("#<%=LoadingPanel.ClientID%>");
                postBackElement = eventArgs.get_postBackElement().id;
                loadingPanel.show(postBackElement);
            }

            function endRequest(sender, eventArgs) {
                loadingPanel = $("#<%=LoadingPanel.ClientID%>");
                loadingPanel.hide(postBackElement);
            }
        </script>

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 06 Sep 2012, 11:12 AM
Hi Darashan,

Please ensure that the endRequest event fires correctly on your end. Also inspect the ajax request and verify if any js errors appear in this case. Some more information on your application as well as the full [age markup will help us provide more to-the-point answer for your case.

Greetings,
Maria Ilieva
the Telerik team
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 their blog feed now.
Tags
Ajax
Asked by
darshan thacker
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or