我如何使用Silverlight的ASP.NET? [英] How do I use Silverlight from ASP.NET?

查看:207
本文介绍了我如何使用Silverlight的ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在我的ASP.NET应用程序中使用Silverlight中创建的XAP文件?我的意思是什么都登记变更的页面来完成,以使Silverlight内容将显示在我的aspx页面?

How do I use a XAP file created in Silverlight in my ASP.NET application?? I mean what are all the registration and changes to be done in the pages in order for the Silverlight content to be displayed in my aspx page?

推荐答案

使用网页上的Silverlight的ASP.NET控件和引用您的.xap文件应该是在你的ClientBin目录。

Use the Silverlight ASP.NET control on your page and reference your .xap which should be in your ClientBin folder.

<asp:Silverlight ID="Silverlight1" runat="server" 
Source="../ClientBin/Something.xap" MinimumVersion="2.0" 
Width="100%" Height="100%" />

这篇关于我如何使用Silverlight的ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆