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

AJAX Page Redirect does not show image properly

1 Answer 57 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Vikas
Top achievements
Rank 1
Vikas asked on 12 Jun 2008, 04:32 AM
I was folloing redirect sample from http://localhost:8301/radcontrols_aspnetajax/Ajax/Examples/Common/Redirect/DefaultCS.aspx. The difference is the image refuses to animate. It just freeses. I am using same stuff but the effect is different. Please explain

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="PageRedirect.aspx.cs" Inherits="SampleTestProgress.Telerik.PageRedirect" %>

<%

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

<style type="text/css">

.BODY

{

font-size:62.5%;

line-height:1.2;

font-family:"segoe ui",arial,sans-serif;

}

</style>

</

head>

<

body class="BODY">

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

<div>

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

</asp:ScriptManager>

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px" LoadingPanelID="RadAjaxLoadingPanel1">

<asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="list1_SelectedIndexChanged" >

<asp:ListItem Value="http://www.google.com/">www.google.com</asp:ListItem>

<asp:ListItem Value="http://www.yahoo.com/">www.yahoo.com</asp:ListItem>

<asp:ListItem Value="http://www.microsoft.com/">www.microsoft.com</asp:ListItem>

<asp:ListItem Value="http://www.slashdot.org/">www.slashdot.org</asp:ListItem>

</asp:RadioButtonList>

</telerik:RadAjaxPanel>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

Width="75px" InitialDelayTime="0">

<asp:Image ID="Image1" Style="margin-top: 50px" runat="server" BorderWidth="0px"

ImageUrl="../_assets/img/Telerik/loading1.gif" AlternateText="Loading..."></asp:Image>

</telerik:RadAjaxLoadingPanel>

</div>

</form>

</

body>

</

html>


----------------------------CS File ---------------------

protected void list1_SelectedIndexChanged(object sender, EventArgs e)

{

Response.Redirect(RadioButtonList1.SelectedValue);

}

Regards
Vikas

1 Answer, 1 is accepted

Sort by
0
Prangadj
Top achievements
Rank 1
answered on 16 Jun 2008, 12:15 PM
Does this happen under certain browser, Vikas? I tested the demo under IE 7 and FF and it works fine. If you use IE 6 check these articles:

http://www.telerik.com/support/kb/article/b454K-tch-b454T-ceh-b454c-ceh.aspx
http://www.telerik.com/support/kb/article/b454K-tgc-b454T-bdt-b454c-bdt.aspx

Prangadj
Tags
Ajax
Asked by
Vikas
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Share this question
or