Chart not found - Red 'X' question

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

Chart not found - Red 'X' question

Post by richheim » Mon Oct 27, 2008 1:39 pm

Hi,
Could you guys tell me, generally, what generally causes this issue? I'm talking about when, in ASP.NET applications, a red 'X' is displayed on the bowser and no chart.
I think i have a good handle at this point on using your product for .NET in the ASP.NET environment. I'm using VS 2005, C#, and .NET 2.0. I'm also taking advantage of the ASP.NET AJAX extensions including the AJAX toolkit for ASP.NET.
Early on I found that I need to include a getChart.aspx in my web solution when using 'Session' for tmpChart, otherwise I had lots of issues with the charts zooming and even being found (red 'X').
I am having an issue in my app now, in trying to display a chart in a AJAX modalPopupExtension window. It seeems that sometimes I get no chart - just the red 'X' - but other times I DO get a chart.
In anticipation of writing you guys about this issue, I've put together a simple sample program using random data in a similar scenario, but can't seem to replicate this issue, i.e., I always seem to get the chart.
What could I be doing wrong? What does the red 'X' mean? Is it not finding the chart in my session? Is the chart no being drawn? What are the probable causes of this issue?

thanks,
Rich

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Mon Oct 27, 2008 3:14 pm

Hello Rich,

We saw your other post, sorry for not getting a reply to it more quickly as we've not been able to reproduce the issue yet. Is it possible that there's a timing issue on the Chart that displays the problem? ie. that a dataload cycle is causing a delay in showing the Chart? Perhaps if you check on differences of that kind between your sample project and the problem project it may give some clues.

Regards,
Marc
Steema Support

richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

Post by richheim » Mon Oct 27, 2008 5:33 pm

>> Perhaps if you check on differences of that kind between your sample project and the problem project it may give some clues.


This is the first thing I did. I've tried relacing the chart I'm drawing in my app, which gathers data from a remote DB, with a random number generated chart to see if data retieval was the cause...no luck.

Still looking.....

thanks for your help,
Rich

richheim
Newbie
Newbie
Posts: 58
Joined: Tue Sep 18, 2007 12:00 am

I think I found it

Post by richheim » Thu Oct 30, 2008 4:47 pm

I think I found the issue.

Since it was taking a bit of time to load my initial web form (it does DB lookups and draws charts) - I set up a separate ASP.NET web form which displays a "loading..." graphic to the user - while doing a redirect to the main form.

Seems like the redirect may have been causing the problem. When I bypass the loading form/redirct and load the mainform directly, the charts in the modalPopup appear!
Could just be a security issue with i.e. - although all the forms are on the same server, maybe the redirect is not allowing the the modalpopup to retrieve the graphic??

Now I need to find an other way to display the "loading..." thing :-)

thanks,
Rich

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Fri Oct 31, 2008 8:51 am

Hello Rich,

Thanks for the update, it's useful to know what factors are related to the problem.

Regards!
Marc
Steema Support

Post Reply