我使用的是asp.net.i的Silverlight已經在Silverlight中MainPage.xaml中我有一個使用下面的代碼的Silverlight ChildWindow用asp.net母版
<div style="width:200px">
<object data="data:application/x-silverlight-2,"
type="application/x-silverlight-2" width="100%" style="height: 1000px">
<param name="source" value="ClientBin/SilverlightSummary.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.50401.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
添加Silverlight內容到asp.net母版頁按鈕,當點擊按鈕時,它會打開一個ChildWindow。
private void btnView_Click(object sender, RoutedEventArgs e)
{
PopUpWindow PPW = new PopUpWindow();
PPW.chart1.DataContext = App.Current.Resources["ChartResult"];
PPW.Show();
}
問題是子窗口僅顯示母版,它不涉及與asp.net母版頁整個屏幕和內容page.how我可以把它展現childWindow FUL屏幕