Hi there!
My question is very simple: I have this
<div>
<asp:Silverlight ID="XamlSilverlight" runat="server" Windowless="true"
Source="~/ClientBin/SilverlightScatterPlot.xap" MinimumVersion="2.0.31005.0"
Width="600" Height="600" />
</div>
And i need to change the source of silverlight in server-side, so i need to acess the control of silverlight so:
ContentPlaceHolder content = new ContentPlaceHolder();
content = (ContentPlaceHolder)Page.Master.FindControl("MainContent");
(content.FindControl("XamlSilverlightDiagnostic") as DontKnow).Source = "~/ClientBin/SilverlightScatterPlot.xap"
How can i do to change the source of my silvellight control, in my Page.aspx
thanks