Are there any examples or could you tell me how to refer to the TeeChart control from the server side code in an asp.net web form? I'm trying to fill the chart from an MS SQL Server table. Can I create a dataset server side and use it for the chart?
Any help will be greatly appreciated!
Thanks.
Asp.net server side reference
Hi,
http://localhost/TeeChart7/ADOTeeChart7.asp
included with the TeeChart Pro installation.
It must be added as an OBJECT into the aspx page. You can see one example of this I posted some time ago into the news://www.steema.net/steema.public.attachments newsgroup ( on 14th April 2005, with subject : "RE: Got serveral error msg with ASP.NET (ActiveX7.0) " ).Are there any examples or could you tell me how to refer to the TeeChart control from the server side code in an asp.net web form?
Yes, you should be able to assign the dataset as DataSource like in the ADO example you can find at :I'm trying to fill the chart from an MS SQL Server table. Can I create a dataset server side and use it for the chart?
http://localhost/TeeChart7/ADOTeeChart7.asp
included with the TeeChart Pro installation.
Pep Jorge
http://support.steema.com
http://support.steema.com
I'm not sure what you're telling me about adding it as an object. As far as the HTML code is concerned the chart is being added in an object tag. However, when I try to refer to it from the server-side code in a aspx.vb codebehind page, it dosen't see it because it's a client-side activeX control.
I have something working from SQL Server using the Import.LoadFromURL() command going to an aspx page. However, what I still need to know how to do is send a datetime string entered into an asp Textbox to the .aspx page being called in the Import.LoadFromURL(). The datetime will determine what data is retrieved from the SQL Server table to be added to the chart.
Thanks,
Allen
I have something working from SQL Server using the Import.LoadFromURL() command going to an aspx page. However, what I still need to know how to do is send a datetime string entered into an asp Textbox to the .aspx page being called in the Import.LoadFromURL(). The datetime will determine what data is retrieved from the SQL Server table to be added to the chart.
Thanks,
Allen
Hi Allen,
I'm sorry, I didn't put a correct answer, maybe I mix up with other. I've just post an asp.net example into the news://www.steema.com/steema.public.attachments newsgroup (with the same subject) which shows how to create the server object and send the results to the client.
Hope that it helps.
I'm sorry, I didn't put a correct answer, maybe I mix up with other. I've just post an asp.net example into the news://www.steema.com/steema.public.attachments newsgroup (with the same subject) which shows how to create the server object and send the results to the client.
Hope that it helps.
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Allen,
the example I posted shows both cases (referenced as an object of just showing an image). As you can see if you runt the example, the first Chart is returned as an image (png image), and the second Chart is a live Chart (which you can do a zoom, scroll, etc.. and interact with it)
the example I posted shows both cases (referenced as an object of just showing an image). As you can see if you runt the example, the first Chart is returned as an image (png image), and the second Chart is a live Chart (which you can do a zoom, scroll, etc.. and interact with it)
Pep Jorge
http://support.steema.com
http://support.steema.com