Tag Archives: SharePoint

How to upload a document in SharePoint 2010 using Client Context Object Model ?

By | April 24, 2011

In order to use ClientContext I need to add reference to two dll’s to my project i.e. Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client .Runtime.dll. In this Post we will talk abou8t 1) how to Get ListItemCollection from SharePoint document list using CAML 2) Upload a document to SharePoint Document list . Get ListItemCollection from SharePoint Document list using CAML: CodeProject. I… Read More »

How to pass InitParams to Silverlight Application which is hosted as SharePoint 2010 web parts?

By | January 13, 2011

While working with Silverlight Web Parts in SharePoint 2010 it may required to pass initial parameter to Silverlight application from SharePoint sites. For any ASP.NET hosted Silverlight application, you can pass the initialization value using “initparams” with in the “Object” tag. But for Silverlight applications which are hosted as SharePoint Web parts don’t have any object tag to… Read More »