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

AjaxLoading Panel Loading Images (web resource)

1 Answer 502 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Bryan Brannon
Top achievements
Rank 2
Bryan Brannon asked on 30 Aug 2008, 01:36 PM
I am trying to use the following code to show a particular loading image on an AJAX request:

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

It works but does not show the iamges and throws an exception:
This is an invalid webresource request.

I cannot find anywhere in the documentation that tells us what are the loading images stored in as the web-resource:

Here is what I was expecting: (red ones not found?)

Telerik.Web.UI.Skins.Default.Ajax.Loading.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading1.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading2.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading3.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading4.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading5.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading6.gif
Telerik.Web.UI.Skins.Default.Ajax.Loading7.gif

Telerik.Web.UI.Skins.Default.Ajax.LoadingProgressBar.gif
Telerik.Web.UI.Skins.Default.Ajax.LoadingVerticalBar.gif

Any help?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Sep 2008, 01:04 PM
Hi Bryan,

Indeed you are right! We should add documentation for this for sure.

In the meantime please loading1 instead Loading1 - web resources are case sensitive.

You can check also this example:
http://demos.telerik.com/aspnet/Prometheus/Ajax/Examples/LoadingPanel/LoadingImages/DefaultCS.aspx

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Bryan Brannon
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or