Embed a simple Silverlight program in a SharePoint page
Source: Internet
Author: User
Embed a simple Silverlight program in a SharePoint page
1. Open vs, new project Silverlight. 2. Name Mybannerad, OK. 3. Clear the option "host Silverlight application in new site", OK. 4. Right-click the project to add folder images. Right-click images Add Existing Item, add two pictures gear.png and branded.png. 5. Right-click the MainPage.xaml file and select View Designer. Edit code: 6. Your Silverlight application should look like this:
7. Press F5 to see if the test is normal. 8. In the SharePoint site, create a new document library Xaps, locate the mybannerad.xap in the Silverlight application you created, and upload it. 9. Create a new Web Part Page in SharePoint Designer and add the Silverlight Web section. Set properties.
10. Preview in the browser.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.