Problem with AJAX and Teechart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Thomas
Newbie
Newbie
Posts: 7
Joined: Mon Dec 04, 2006 12:00 am

Problem with AJAX and Teechart

Post by Thomas » Fri Nov 30, 2007 9:05 am

Hello,

in my asp.net application i use the teechart web control nested inside a asp:DataList control as a ItemTemplate. I added the datasource for the datalist programmatically in the codebehind-file of the page and a asyncronous request refreshes the charts periodically. All works fine except of the order of the chart-images in the complete rendered page. It seems like the order will be random although the order in the underlying program collection is always the same.

Now i don't know whether it is a browser display problem or with ajax partial-page rendering process or with teechart.

I already tried to set another tempchart mode from session to httphandler, but there was no better result.

Teechart.NET-Version: V2 Update Build 2.0.2838.21328 from 9th Oct. 2007


Do you have any idea to solve the problem ? I will be glad to hear from you soon. Thanks in advance.

Thomas

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

Post by Marc » Mon Dec 03, 2007 8:55 am

Hello Thomas,

If the orderby of your query is correct then I see no obvious explanation of the problem. If you have a small sample project that reproduces the problem please send it to us, you could use the TeeChart.mdb in the samples folder as datasource if yo have no small dataset of your own.

Attachment can be posted at:
public newsgroup: [url]news://steema.public.attachments[/url]
or at the upload page http://www.steema.net/upload/

With thanks.
Regards,
Marc Meumann
Steema Support

Thomas
Newbie
Newbie
Posts: 7
Joined: Mon Dec 04, 2006 12:00 am

Post by Thomas » Tue Dec 04, 2007 6:38 am

Hi Marc,

I tried to create a test project to show you what I mean, but in this project all works...so I implemented a delay in afterdraw event of the chart. After this the charts where drawed in correct order. I don't know why but it works. That's the main thing.

Greetings,
Thomas

Post Reply