问题描述
我有一个Silverlight应用程序包含一个默认的app1.xaml文件,我在其中编写了一些代码进行设计,并且在我的应用程序中创建了另一个app2.xaml文件.
两个.aspx网页,一个是webpage1.aspx,第二个是webpage2.aspx.现在我想将我的第一个app1.xaml文件设计用于webpage1.aspx,将app2.xaml文件用于webpage2.aspx
我怎样才能做到这一点?是否可以通过使用下面的代码来做到这一点
I have one silverlight application contains one default app1.xaml file i wrote some code inside that for design and i have created one another app2.xaml file and in my application
two .aspx webpages are there one is webpage1.aspx and second is webpage2.aspx. now i want to use my first app1.xaml file design for webpage1.aspx and app2.xaml file for webpage2.aspx
how can i do that? Is it possible to do that by using below code
<asp:Silverlight ID="Xaml1" runat="server"
Source="~/ClientBin/MySilverlightApp.xap"
Width="300" Height="300" />
如果可能的话,我必须这样做吗?
if possible where i have to do this? and how?
推荐答案
这篇关于如何将Silverlight应用程序连接到网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!