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

Loading Panel not showing consistently

5 Answers 186 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jeff Nafe
Top achievements
Rank 1
Jeff Nafe asked on 29 Jul 2009, 01:20 PM
We have a page that primarily features a RadScheduler control. Certain actions fire an Ajax request and we refresh the Scheduler in these cases. The Scheduler always refreshes properly, but the Loading Panel only shows occasionally. I haven't been able to determine a set pattern in terms of when it shows/doesn't show yet. I believe that I have the controls set up properly. Has anyone else ran into an issue like this before? I have tried to set up events for RequestStart and RequestEnd which manually hide/show the loading panel and this works a little better, but still not consistently. Any tips would be appreciated! Below is a sample of the code that I'm using.

    <telerik:RadAjaxManager ID="ajxmgr" runat="server" OnAjaxRequest="ajxmgr_AjaxRequest"
        UpdatePanelsRenderMode="Inline">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ajxmgr">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rdScheduler" LoadingPanelID="lpMdl" />
                    <telerik:AjaxUpdatedControl ControlID="control1" />
                    <telerik:AjaxUpdatedControl ControlID="dtPckr" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="rdScheduler">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadCalendar1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="lpMdl" runat="server" Transparency="20" BackColor="#E0E0E0"
        IsSticky="false" InitialDelayTime="100">
        <div class="ldpnl">
            Please Wait...
            <br />
            <img src="images/icons/ajax-loader2.gif" alt="loading..." style="padding-top: 15px;" />
        </div>
    </telerik:RadAjaxLoadingPanel>

Thanks!

Jeff

5 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 31 Jul 2009, 11:59 AM
Hi Jeff Nafe,

Please, refer to my  response in ticket #231469. I'd also ask you to leave our support communication to the format support thread for a greater convenience and a faster response time.

Thank you.

Sincerely yours,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jeff Nafe
Top achievements
Rank 1
answered on 31 Jul 2009, 12:50 PM
UPDATE: I haven't completely fixed my issue yet, but I have followed some tips given by Telerik in response to a support ticket that I opened for this issue.

It looks like much of this issue is caused by a stylesheet that is included. I'm not sure what part exactly (most of this stylesheet was a skin that was actually created by Telerik for us), but when I comment out the stylesheet, the loading panel works much more consistently. Also, the loading panel is displaying on top of a Scheduler control. Removing the custom skin from that control also seems to help. So, for anyone else having this issue, I would suggest trying these things first to see if they help the issue.
0
Tsvetoslav
Telerik team
answered on 03 Aug 2009, 01:46 PM
Hello Jeff Nafe,

I managed to trace the reason for the loading panel not displaying to the fact that at times the ajax request ends within the InitialDelay time span set for the loading panel. Under this circumstance, this behavior is expected. Therefore, in order to avoid this problem you need to either decrease the initial delay time interval or just remove it.

I hope this helps.

Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Niraj
Top achievements
Rank 1
answered on 24 Dec 2010, 10:40 AM
Hi,

I also had the same problem. When I turn on IsSticky , the loading panel appears. But due to IsSticky(I guess) the loading does not fill the entire screen. Can anyone help me with this....?

Niraj Khose
0
Tsvetoslav
Telerik team
answered on 29 Dec 2010, 06:17 PM
Hello Jeff,

It is hard to determine what the cause for this issue is without taking a look at your implementation.. Please, open up a formal support ticket and send your files for debugging on our side (it will be great if you make a runnable test project).

Thanks in advance.

Best wishes,
Tsvetoslav
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Ajax
Asked by
Jeff Nafe
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Jeff Nafe
Top achievements
Rank 1
Niraj
Top achievements
Rank 1
Share this question
or