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

[Solved] No image appears in LoadingPane

1 Answer 78 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 08 Jun 2009, 04:48 PM
I am trying to get a loadingpanel to work and no matter what I do the image does not appear. 

to test I created a brand new application with just one page with a loading panel and a button.  The image never appears.

Here is my code:

<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

<%

@ Register assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>

 

<!

 

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>Untitled Page</title>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

</asp:ScriptManager>

 

 

<div>

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"

 

 

height="75px" width="75px" IsSticky="True" MinDisplayTime="10">

 

 

<img alt="Loading..."

 

 

src="loading-spiral.gif"

 

 

style="border:0px;" />

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

<asp:Button ID="Button1" runat="server" Text="Button" />

 

 

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

And the code behind:

 

Partial

 

Class _Default

 

 

Inherits System.Web.UI.Page

 

 

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

 

System.Threading.Thread.Sleep(2000)

 

End Sub

 

End

 

Class

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 09 Jun 2009, 09:33 AM
Hi Eric,

Please find attached a small runnable application which handle the desired functionality. Give it a try and see if it works for you or if I am leaving something out.

Sincerely yours,
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
Eric
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or