wmtree.blogg.se

How to upload file in silverlight sample
How to upload file in silverlight sample













how to upload file in silverlight sample

The next step is to add our existing Silverlight application to our solution.

how to upload file in silverlight sample

From the project under solution explorer, delete ‘Sample.txt’ file and also delete the entry – Choose ‘Module’ from the SharePoint > 2010 section.

how to upload file in silverlight sample

#How to upload file in silverlight sample code

Open MainPage.xaml file and replace the code with the following. To add a module, right click the SharePoint Empty project and add a new item. In the New Silverlight Application wizard check the 'Host the Silverlight Application in a new Web site'. The modules are used to deploy the files to SharePoint sites. Now let’s add a ‘Module’ to our SharePoint project. Now your project will look like the following – So let’s create an ‘Empty SharePoint 2010 Project’ with the name ‘DeploySilverlightApp’ as shown below –Ĭlick ‘OK’ and choose ‘Deploy as a Sandboxed Solution’ option by providing SharePoint Site URL –















How to upload file in silverlight sample