Page 1 of 1

In Internet Explorer, chart it isn't visible the second time

Posted: Thu Jul 14, 2011 4:14 pm
by 15658829
I’m using Teechart version 4.1.2011.4191 with Visual Studio 2005, and I have a problem with charts in Internet Explorer 9. When I show the ASPX page the first time the chart appears correctly, but if I redirect to another page and then return to the ASPX page, this time the chart doesn’t appears. You need to click the mouse right button and select to reload the page in order to see the chart again. If I use Firefox there is no problem, and the chart is always visible. I’m using Httphandler as Tempchart method. The obvious solution is not use IE, but unfortunately my Customer uses IE. Any suggestions?

Re: In Internet Explorer, chart it isn't visible the second time

Posted: Fri Jul 15, 2011 9:38 am
by narcis
Hi MOLINEROLM,

We haven't been able to reproduce the problem here. Can you please try to reproduce the problem using the live ASP.NET demo? What why did was going to the Interacting with Charts -> Drill Down -> URL Linking example, disable the "Open in new window" checkbox, click on the series to open another website and then go back to the TeeChart aspx website using the "back" button in the browser. We also tried opening the "View C# Code" link at the same page and in a new tab/window and going back to the original website without being able to reproduce the problem. Could you please let us know the steps we should follow to reproduce the problem with the demo?

Thanks in advance.

Re: In Internet Explorer, chart it isn't visible the second time

Posted: Fri Jul 15, 2011 11:30 am
by 15658829
Hi Narcis

Thank you for your answer.
I have uploaded a really simple example in this link:

http://www.carpinteriabarrado.com/prueba1.aspx

This is a page with a chart, without data, only the panel, title and legend.
This is the code:
public partial class Prueba1 : System.Web.UI.Page
{
protected void RadTabDatos_TabClick(object sender, Telerik.WebControls.TabStripEventArgs e)
{
Response.Redirect("Prueba2.aspx");
}
}

The only code in both pages is the redirection instruction.

The ASPX for the Chart:
<tchart:WebChart ID="WebChart1" runat="server" AutoPostback="False" Config="… muchas cosas ..."
EnableViewState="False" GetChartFile="GetChart.aspx" Height="419px" TempChart="Httphandler"
Width="966px" />
If you click the Page 2 tab and then in that page you click Page 1 to return again to the chart, you will see the problem (only with IE 9, no problem with IE 8 or Firefox, another kindness of Microsoft)
Maybe there is no solution and it’s a fault of the IE 9.

Thank you

Luis Miguel

Re: In Internet Explorer, chart it isn't visible the second time

Posted: Fri Jul 15, 2011 11:46 am
by narcis
Hola Luis Miguel,

Thanks for the information. We have been able to reproduce the problem using the link you posted. Would you mind attaching the full example so that we can investigate the issue here? We might be able to suggest a code variation that works.

Thanks in advance.

Re: In Internet Explorer, chart it isn't visible the second time

Posted: Fri Jul 15, 2011 2:45 pm
by 15658829
Hola Narcis

While I was preparing the code I’ve been investigating and I found that the problem appears when I use the tabstrip control to redirect to the other page. I’m using a commercial tabstrip control from Telerik. If I change this control with a button, instead of a tabstrip, there is no problem. So the problem appears only when there is the tabstrip control.
If I found the solution or anything else I’ll keep you informed.

Thank you

Luis Miguel