Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 01, 2009 03:24 PM by qwe123kids
Participant
1398 Points
1328 Posts
Mar 31, 2009 09:26 PM|LINK
I have a Silverlight application that displays a pie chart. I would like to somehow hook it up to an existing .aspx application. How can I do this?
Would I have to Add a new project within and existing .aspx project? With the "New" project being the Silverlight project?
All-Star
48619 Points
7957 Posts
MVP
Apr 01, 2009 11:10 AM|LINK
hi,
For silverlight Hooking U just Require Object tag and path of .xap File in src..
Hope It helps
Apr 01, 2009 02:02 PM|LINK
Could you possibly give me an idea of how this is done? Like a small code snippet?
Apr 01, 2009 03:24 PM|LINK
Hi,
<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="100%"> <param name="source" value="<YOUR .XAP FILE PATH HERE>"/> <param name="minRuntimeVersion" value="2.0.31005.0" /> <param name="autoUpgrade" value="true" /> <a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"> <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/> </a> </object>
AppDevForMe
Participant
1398 Points
1328 Posts
Hooking in a Silverlight application to an existing .aspx application
Mar 31, 2009 09:26 PM|LINK
I have a Silverlight application that displays a pie chart. I would like to somehow hook it up to an existing .aspx application. How can I do this?
Would I have to Add a new project within and existing .aspx project? With the "New" project being the Silverlight project?
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: Hooking in a Silverlight application to an existing .aspx application
Apr 01, 2009 11:10 AM|LINK
hi,
For silverlight Hooking U just Require Object tag and path of .xap File in src..
Hope It helps
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
AppDevForMe
Participant
1398 Points
1328 Posts
Re: Hooking in a Silverlight application to an existing .aspx application
Apr 01, 2009 02:02 PM|LINK
Could you possibly give me an idea of how this is done? Like a small code snippet?
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: Hooking in a Silverlight application to an existing .aspx application
Apr 01, 2009 03:24 PM|LINK
Hi,
<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="100%" height="100%">
<param name="source" value="<YOUR .XAP FILE PATH HERE>"/>
<param name="minRuntimeVersion" value="2.0.31005.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none"/>
</a>
</object>
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.