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

[Solved] RadAjaxLoadingPanel not appearing

4 Answers 183 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
brian sullivan
Top achievements
Rank 1
brian sullivan asked on 01 Aug 2009, 10:04 PM
I can't seem to get the RadAjaxLoadingPanel to appear over the control being updated.  I've tried to create as simple an example as possible to remove the possibility of my project's complexities as the culprit.  However, even that simple scenario doesn't seem to work.

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager runat="server" ID="rsmScriptManager" /> 
        <telerik:RadAjaxManager runat="server" ID="ramAjaxManager"
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="btnTest">                     
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="divColor" LoadingPanelID="rlpLoadingPanel" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="rlpLoadingPanel" runat="server" Skin="Vista"/> 
        <div style="width: 500px; height: 500px; background-color: Red;" runat="server" id="divColor" /> 
        <asp:Button ID="btnTest" runat="server" Text="Test" OnClick="btnTest_Click" /> 
    </div> 
    </form> 
</body> 
</html> 
 

The codebehind simply changes the color of the div from red to blue after sleeping for a couple of seconds to simulate server processing time.  When I run this, the colored div disappears, no loading panel is shown, and then div reappears in blue.   What am I missing here?

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Aug 2009, 12:29 PM
Hello Brian,

I followed your scenario in order to replicate the issue you are facing but to no avail.
Attached to this message is a simple runnable application that demonstrates the desired functionality. Please gIve it a try and see if it works for you.

I hope this helps.

Kind regards,
Pavlina
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
brian sullivan
Top achievements
Rank 1
answered on 04 Aug 2009, 04:01 AM
Pavlina,

Thank you for your response.  Your sample worked perfectly, so I started trying to determine the difference between our projects.  I changed a few things in the web.config, but that didn't work. The projects are nearly identical at this point, but mine still behaved in the manner I described. 

Finally, I tried using the Telerik.Web.UI.dll that you sent with your sample, and that did the trick.  I compared the version numbers; mine was version 2008.2.826.35, and yours was version 2009.2.713.35.  Obviously, mine is a whole year older than the one you provided.  Has the product changed significantly since then with regard to the LoadingPanel?  I'm working with an existing system, and paying to upgrade to the latest version of the product is not really feasible.

Any guidance you can offer is much appreciated.  Thanks!

0
brian sullivan
Top achievements
Rank 1
answered on 04 Aug 2009, 04:02 AM
Pavlina,

Thank you for your response.  Your sample worked perfectly, so I started trying to determine the difference between our projects.  I changed a few things in the web.config, but that didn't work. The projects are nearly identical at this point, but mine still behaved in the manner I described. 

Finally, I tried using the Telerik.Web.UI.dll that you sent with your sample, and that did the trick.  I compared the version numbers; mine was version 2008.2.826.35, and yours was version 2009.2.713.35.  Obviously, mine is a whole year older than the one you provided.  Has the product changed significantly since then with regard to the LoadingPanel?  I'm working with an existing system, and paying to upgrade to the latest version of the product is not really feasible.

Any guidance you can offer is much appreciated.  Thanks!

0
Pavlina
Telerik team
answered on 06 Aug 2009, 04:01 PM
Hello Brian,

The product is not changed significantly but there is a bug fixes.
I suggest you download Q2 2009 trial version of RadControls for ASP.NET AJAX and see if it works as expected.

Best wishes,
Pavlina
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.
Tags
Ajax
Asked by
brian sullivan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
brian sullivan
Top achievements
Rank 1
Share this question
or