Page 1 of 1
Sample application for ASP.NET/Silverlight
Posted: Mon Jun 14, 2010 11:17 pm
by 10050727
I am in the process of learning both ASP.NET and Silverlight. Do you have a sample application that demonstrates the Silverlight TEEChart component in an ASP.NET web-page? I am using Visual Studio 2008 with ASP.NET 3.5 and Silverlight 3 for C#.
Thanks,
Kent
Re: Sample application for ASP.NET/Silverlight
Posted: Tue Jun 15, 2010 11:56 am
by 10050769
Hello Kent,
TeeChart supports Asp .Net and Silverlight. If you want use controls Silverlight in application Asp.Net, you could search a similar text as follow: "use silverlight in asp.net" and you find web-pages as
it where explain as you do for add components Silverlight in applications Asp.Net.
I hope will helps.
Thanks,
Re: Sample application for ASP.NET/Silverlight
Posted: Tue Jun 15, 2010 11:50 pm
by 10050727
I looked at the article and succeeded in adding the TChart Silverlight control to an ASP.NET page using the strategy described. However, I do not understand how to actually reference the control now that I have it in the page.
Can you tell me (or point to an example) how to reference theTChart's control properties from the code behind of the ASP page? For example, if I have an ASP button control in the same page, I want to update the header text of the Chart control from the button's click handler when the button is clicked.
I know this is pretty basic, but I am trying to get started. I have used the .NET and VCL TChart controls in other projects but am trying to get over the initial obstacles to using the Silverlight TChart controls.
Thanks,
Kent
Re: Sample application for ASP.NET/Silverlight
Posted: Wed Jun 16, 2010 6:51 am
by narcis
Hi Kent,
You'll find a Silverlight demo at C:\Program Files\Steema Software\TeeChart for .NET 2010\Examples\DemoProjectSilverlight (Default Englisht installation path).
Re: Sample application for ASP.NET/Silverlight
Posted: Wed Jun 16, 2010 4:10 pm
by 10050727
That demo does not use ASP.NET. You have an ASP.NET demo that does not use Silverlight and a Silverlight demo that does not use ASP. I am looking for an ASP.NET demo that mixes ASP controls and the Silverlight TeeChart control, in particular one in which an ASP control callback sends data to the Silverlight Teechart control.
Maybe I am going off in the wrong direction here. I just read an article that said that the only way to communicate between ASP controls and Silverlight controls is by using query strings or cookies. That is not what I had in mind, so I must not yet understand the proper application of the two technologies. If that is the case, then I need to stick with one or the other and not try to mix the two.
Sorry to have bothered you.
Kent
Re: Sample application for ASP.NET/Silverlight
Posted: Fri Jun 18, 2010 3:42 pm
by narcis
Hi Kent,
No problem! I have no experience mixing both technologies together. However, one basic concept is that ASP.NET applications generally executes on the server while Silverlight applications have the capacity to execute on the client as well (hence the need to download the Silverlight framework onto the client machine). So, it makes sense to me that if you wish to use both technologies together one think to look at first would be client-server communication. If you have any specific requirements for TeeChart.Silverlight.dll please don't hesitate to let us know.