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

[Solved] LoadingPanel images .NET 2.0 v/s 3.5

7 Answers 170 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Adam Ooten
Top achievements
Rank 1
Adam Ooten asked on 29 Apr 2009, 07:34 PM
Taking a look at the LoadingPanel image and behavior as described in the examples like this one:

http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultvb.aspx

is this only available in the .NET 3.5 version of the controls?  I am working on a .NET 2.0 project and all I can seem to get are the old loading images.  And the code it generates when I drag the control on to the page looks like the old style as well.

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" 
        Width="75px">  
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border: 0px;" /> 
    </telerik:RadAjaxLoadingPanel> 

7 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 30 Apr 2009, 11:49 AM
Hi Adam,

I am sending you a small working project which works as expected on .NET 2.0. Please give it a try and let me know if you have other questions or problems.
 
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
Adam Ooten
Top achievements
Rank 1
answered on 30 Apr 2009, 01:23 PM
Actually that example does not seem to be in 2.0.  The Telerik.Web.UI.dll is the 2009.1.402.35 version which is the 3.5 version right?  And the webconfig says 3.5 all over the place.  I changed the project to be 2.0, copied in the 2009.1.428.20 version dlls, and it still did not work as expected.
0
Pavlina
Telerik team
answered on 30 Apr 2009, 04:23 PM
Hi Adam,

I am sorry for the mistake. Please find attached the changed project on .Net 2.0 where the LoadingPanel is working properly. Give it a try and see if it works for you.

All the best,
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
Adam Ooten
Top achievements
Rank 1
answered on 30 Apr 2009, 05:45 PM
I see that your attached project is a website as instead of a webapplication.  Is there any reason why that would be different?  I created a webapplication project and used all the same code as in your example, and it does not work as expected.
0
Pavlina
Telerik team
answered on 04 May 2009, 02:42 PM
Hi Adam,

The example should work in the same manner regardless whether you use web site or web application project. In this line of thoughts, would it be convenient for you to open a formal support ticket in order to send me the problematic web application? I could then have a better look on your scenario and setup and try finding what could be the reason for this oddity.

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
Adam Ooten
Top achievements
Rank 1
answered on 04 May 2009, 03:41 PM
I just opened a support ticked, with a project attached that shows the problem.
0
Todd
Telerik team
answered on 04 May 2009, 04:16 PM
Hello Adam,

I have just sent a response to you on your support ticket. It seems the one property that was missing in your examples is the "Skin" property. To use the new loading images in RadAjaxLoadingPanel, you need to set the Skin property to any of the valid Telerik skins (like Vista, Black, Hay, Outlook, etc.). You can see the different images by using the "Skin Chooser" on any of the Telerik Online Demos.

Hope that helps you (and others) solve the problem!

Best wishes,
Todd
Tags
Ajax
Asked by
Adam Ooten
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Adam Ooten
Top achievements
Rank 1
Todd
Telerik team
Share this question
or