Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight
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 12-Apr-13 2:19am
Edited 12-Apr-13 21:41pm
v2
Comments
Aman.A at 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
good
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.
  Permalink  
v2

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

  Print Answers RSS
0 OriginalGriff 6,803
1 Sergey Alexandrovich Kryukov 6,377
2 DamithSL 5,421
3 Manas Bhardwaj 4,841
4 Maciej Los 4,330


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 13 Apr 2013
Copyright © CodeProject, 1999-2014
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