Create a new Silverlight enabled aspx page


 hi

when create new silvelright application project, new page named testpage.aspx , testpage.html created, after making startup page these page.xaml page opens it, want create page newtestpage.aspx , open new xaml page it, steps have taken.

sachin mukhija 

 create aspx page. add reference xap

<asp:silverlight id="xaml1" runat="server" source="~/clientbin/hittestexample.xap" minimumversion="2.0.30523" width="100%" height="100%" />

 now xap file contains silverlight application , default opens page.xaml. can chage other app.xaml.cs file

 this.rootvisual = new page();  change other user control , open.



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

BIT Version

SQL Server PSProvider SQL Server Authentication

Getting error when using Excel Destination