Click here to Skip to main content
13,191,400 members (79,016 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to add silver light contents in my aspx page?
Hi,i would like to add silverlight charts in to my aspx that i will have aspx page contents with silverlight chart....
will you please guide me how to achieve this please..... am trying to achieve this in silver light 5 in visual studio 2012.

My question is i have a web page that has ajax controls,asp dot net controls,and ajax charts..i want to change the ajax chart to silverlight chart without affecting the page say for example if i have ajax chart in a page with width="430" and height="510" now i want to change that ajax chart to silverlight chart with the same width and height without affecting the design of the brief i want to add silverlight chart just like i add ajax chart in my page....?
could you please help me to find me the solutiion am using VS 2012 and silverlight 5
Posted 12-Apr-13 1:19am
Updated 12-Apr-13 20:41pm
Aman.A 12-Apr-13 18:35pm
well, traditionally silverlight controls are as a matter hosted in an ASPX page if you are making a Silverlight web app. You would generally have one host page that you show various silverlight screens. If you need more specific info, you would have to elaborate on the question.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You can embed the Silverlight plug-in in your Web page in one of two ways -
Using the HTML object element.
Using the Silverlight.js helper file

To do this the first way (which is what you are probably looking for) - go through How to: Add Silverlight to a Web Page by Using HTML[^]. It should help you achieve what you are looking for.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171017.1 | Last Updated 13 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100