Click here to Skip to main content
15,881,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone,
i am creating an asp.net web site application in visual studio 2010. i have added one silverlight application in my project. it has one user control mainpage.xaml. Every silverlight application when added in asp.net project creates on testpage.xap which can be used for adding that control in our web page. when i add another user control in the same silverlight application, it doesnt create second testpage, so how can i use that control in web page? is it true that we can create only one silverlight control in one silverlight application.??


There exists only single user control and single test page for one silverlight application. So for adding another silverlight user control, i have to create another application and another test page. but is there another way to do it???
Posted
Updated 17-Nov-11 22:34pm
v2
Comments
Member 8227420 21-Dec-11 7:42am    
Hi,Everyone

In my silverlight application by default one user control will test with one test page,But i have added another user control ,How can i test this user control,Is there any process to test another control.

Regards
Chakri.

1 solution

Silverlight is implemented as a browser plugin and is added to a web page as described here: Integrating Silverlight with a Web Page[^]

If you have more than one Silverlight application then you can integrate them with your web pages the same way. The .xap file name and/or URI will be different but that's it.

Your text doesn't make sense - adding a user control to a Silverlight application has nothing to do with the web page the Silverlight application is hosted on so you can't expect another test page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900