I have found examples of adding a silverlight RadGauge to an Asp.net Ajax web site and have implemented it and all is working fine. Now I want to add another silverlight control to the same web site but can't seem to find out how that is done. I have a silverlight project in my solution and it creates the .xap file that I include in my .aspx page to get the Gauge to show as follows:
That .xap file contained a RadGauge and that is showing on the page fine. Now I want to add a RadChart else where on the site, do I need to create a whole new silverlight project with the just the chart in it. Since the line above doesn't refer to any particular control in the xap project, I'm thinking I need a new project (and therefore a new .xap file) for each seperate control I want to add, is this correct? Is there a way of adding controls to a single silverlight project and only showing the one I want to see in the different pages of my asp.net site? I cannot find any examples of this...
Thanks in advance
<
asp:Silverlight
ID
=
"Xaml1"
runat
=
"server"
Source
=
"~/ClientBin/SilvrLghtInASP.NET.xap"
MinimumVersion
=
"2.0.30728.0"
Width
=
"90%"
Height
=
"90%"
OnPluginLoaded
=
"pluginLoaded"
/>
That .xap file contained a RadGauge and that is showing on the page fine. Now I want to add a RadChart else where on the site, do I need to create a whole new silverlight project with the just the chart in it. Since the line above doesn't refer to any particular control in the xap project, I'm thinking I need a new project (and therefore a new .xap file) for each seperate control I want to add, is this correct? Is there a way of adding controls to a single silverlight project and only showing the one I want to see in the different pages of my asp.net site? I cannot find any examples of this...
Thanks in advance