Sample application for ASP.NET/Silverlight

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BlueMonkey
Newbie
Newbie
Posts: 34
Joined: Tue Nov 04, 2008 12:00 am

Sample application for ASP.NET/Silverlight

Post by BlueMonkey » Mon Jun 14, 2010 11:17 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Sample application for ASP.NET/Silverlight

Post by Sandra » Tue Jun 15, 2010 11:56 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BlueMonkey
Newbie
Newbie
Posts: 34
Joined: Tue Nov 04, 2008 12:00 am

Re: Sample application for ASP.NET/Silverlight

Post by BlueMonkey » Tue Jun 15, 2010 11:50 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Sample application for ASP.NET/Silverlight

Post by Narcís » Wed Jun 16, 2010 6:51 am

Hi Kent,

You'll find a Silverlight demo at C:\Program Files\Steema Software\TeeChart for .NET 2010\Examples\DemoProjectSilverlight (Default Englisht installation path).
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BlueMonkey
Newbie
Newbie
Posts: 34
Joined: Tue Nov 04, 2008 12:00 am

Re: Sample application for ASP.NET/Silverlight

Post by BlueMonkey » Wed Jun 16, 2010 4:10 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Sample application for ASP.NET/Silverlight

Post by Narcís » Fri Jun 18, 2010 3:42 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply