Adding a Silverlight User Control into a ASP.NET page
Got this question many times by email, instead of answering to each person, let me post it here, as well make sure to check the Silverlight forums for all you other Silverlight questions.
On the project, right click and click at the Link to Silverlight library, then do this manually
Add the binary on the web.config:
<add tagPrefix="asp" namespace="System.Web.UI.SilverlightControls"
assembly="System.Web.Silverlight" />
Register the tag:
<%@ Register Assembly="System.Web.Silverlight"
Namespace="System.Web.UI.SilverlightControls"
TagPrefix="asp" %>
Register the control
<div style="height:100%;">
<asp:Silverlight ID="Xaml1" runat="server"
Source="~/ClientBin/SilverlightApplication1.xap" Version="2.0"
Width="100%" Height="100%" />
</div>
Let me know if that works for you.
Cheers
Al