Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to add silver light contents in my aspx page?
Hi,i would like to add silverlight charts in to my aspx page...so 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 page.....in 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
Updated 12-Apr-13 20:41pm
v2
Comments
I.explore.code 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

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.
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900