Silverlight is Microsoft's cross-browser, cross platform plug-in for media experiences and rich interactive applications.

learn more… | top users | synonyms

12
votes
3answers
2k views

Client Object Model equivalent of SPUtility.SendEmail in SharePoint 2010

I am trying to send an email after an action occurs in Silverlight WebPart I am designing. Is there a built-in class in the Client Object Model that can handle this, or will I have to build a ...
11
votes
5answers
3k views

WebServices or Client object model?

I am writing a Silverlight control which will display the data from SharePoint list for use in SharePoint 2010 site. I am considering wheather to use Client Object Model or SharePoint web services ...
9
votes
1answer
453 views

Detecting browser and replacing web part?

I have a video I want to display on my SharePoint 2010 public facing site and at the moment I am using Silverlight, however, I would like to replace this with flash (youtube actually) if the users are ...
4
votes
3answers
738 views

SharePoint 2010 - GUI automated test tool

I´m searching for an automated GUI test tool for SharePoint 2010. At the moment I´m creating automated GUI tests with PowerShell(IE Com Object) and Selenium(Creating with Selenium IDE and playing with ...
4
votes
4answers
359 views

Is it better to use a Document Library to host files than to host using the file system?

I'm starting to develop Silverlight applications for SharePoint and have been advised to create a Document Library to store the executables. I'm just wondering... Are there any advantages in ...
4
votes
2answers
1k views

Accessing SP 2010 Object Model from Silverlight 4 Application

I have a Silverlight 4 Beta application where I'd like to use the SharePoint object model to upload a document to a SharePoint site - should be simple enough, except an exception is thrown at: using ...
3
votes
2answers
110 views

Location aware Silverlight webpart

We are designing a system where we will have a site per customer. The site will be created based on a custom site template. This site will have a Silverlight webpart, that will get data from a ...
3
votes
2answers
3k views

Silverlight unhandled exception on AddGallery.aspx

I try to create a new list in SharePoint 2010 with AddGallery.aspx and the Silverlight app gives me An unhandled exception occurred in the Silverlight Application right when I click the "Create" ...
3
votes
1answer
1k views

People Picker control for Silverlight, or alternatives?

This is probably a longshot, but does anyone know of a way to resolve a name entered in a Silverlight textbox to a SharePoint User object in Silverlight, using the client object model? Ideally, I'd ...
3
votes
2answers
710 views

Can I create a connected web part using Silverlight in SharePoint 2007?

Currently, I have a connected web part that consumes a SharePoint list and uses the data to add locations to a Google Map control. What I'd like to do is use the Bing Maps Silverlight control and use ...
2
votes
2answers
5k views

How can I upload a file to a Sharepoint Document Library using Silverlight and client web-services?

I'm using C# in Visual Studio with a Silverlight app. I want to upload a file to a document library, but none of the web-services here http://msdn.microsoft.com/en-us/library/ms479390.aspx seem to ...
2
votes
1answer
208 views

How do I log to the SharePoint ULS logs from a Silverlight web part?

I am developing a Silverlight application which is to be hosted on a sharepoint 2010 page using the out of the box Silverlight webpart control. I want to log any exceptions to the sharepoint ULS logs ...
2
votes
2answers
265 views

BLOb Cache breaks video in Media Web Part

I have a Media Web Part on a page that displays video using Silverlight™. When I enable the BLOb Cache and enable it for the file extension my video file has, the video stops working and just says ...
2
votes
1answer
637 views

How to add a Silverlight page into a SharePoint 2010 Application Page?

How to add a Silverlight page into a SharePoint 2010 Application Page? I know how to deploy the .xap file by adding the SL project as a module in a SharePoint 2010 project and create the .wsp file ...
2
votes
1answer
146 views

SharePoint - Detect Silverlight Version and upgrade if necessary?

My Silverlight 5 app is hosted in SharePoint Online. It doesn't load (sticks at 100%) for users who have Silverlight 4 versions. How should I upgrade those without the latest version to Silverlight ...
2
votes
1answer
407 views

Security Exception - Trying to load MySite Blog

When I try to run this async query it fails: private void SomeFunction() { Thread thread = new Thread(GetBlogInfo); thread.Start(); } private void GetBlogInfo() { ...
2
votes
1answer
1k views

How to upload a file larger than 2MB to SharePoint document library using Managed Client Object Model for Silverlight

I can't seem to upload a file to SharePoint if that file exceeds 2MB or so. I am developing a Silverlight application that is interacting with SharePoint via Managed Client Object Model for ...
2
votes
1answer
1k views

How do I get a specific file using Client Object Model in Silverlight?

I can't seem to find any direction when trying to filter a FileCollection (Picture Library) by a specific value. I am 'trying' to use the Silverlight Client Object Model to access list data in ...
2
votes
1answer
71 views

Silverlight application privileges

I have a silverlight application which uses the client object model to access the sharepoint server. When i run the app "out-of-browser" with elevated trust everything works great, but when i try it ...
2
votes
1answer
906 views

Using the Client Object Model, cannot connect?

Not sure why, but I do this, and I get no connection. private void ConnectToSP() { string webUrl = "http://win-a70j4oppt1e/"; clContext = new ClientContext(webUrl); ...
2
votes
1answer
169 views

Graying out Silverlight web part

I've created a Silverlight webpart. It's shown on a SharePoint page on which there are also some links which trigger SharePoint popups, actually the Silverlight web part triggers one itself. Now ...
2
votes
0answers
24 views

Create a Top navigation with Silverlight [closed]

I would like to create a custom top navigation bar with silverlight . I want to do it with least possible time and effort . Could you anyone please suggest a link where i can get the code and ...
2
votes
0answers
319 views

Hosting a Lightswitch app on a SharePoint 2010

Is there a way/workaround to host a Lightswitch v 1.0 app on a SharePoint 2010 site ? This question was also posted on MSDN forum here: ...
1
vote
2answers
531 views

ClientContext and sharepoint

If this is for Client so the Client does not need to have SharePoint installed on its computer to get it work? am I right? I need some information to understand it, the code executed on client side ...
1
vote
2answers
791 views

CSOM Query on Hidden User Information List returning nothing

I'm trying to retrieve a user's profile picture from the hidden User Information List within Silverlight. I can't use the UserProfileService.asmx because I don't have the login name nor the GUID of ...
1
vote
1answer
394 views

How to add attachment to new item silverlight client object model

I am trying to add an attachment to new item but I could only succeded to upload the attachment into the list's folder (not to list's attachment folder). How can I achieve uploading the attachment on ...
1
vote
1answer
1k views

Create new Document in Document library with additional Text Fields in Silverlight (Client Object Model)

I have created a Silverlight Application that runs in a SharePoint 2010 web part. One requirement I have is to give the user a prompt to upload a file, and then send it into a specific Document ...
1
vote
1answer
379 views

How to Automate or Move (Silverlight) xap file to 14 hive ClientBin

I am using silverlight project in sharepoint 2010.I have an requirement of using WSP builder project only for building the soultion and I have configured the layout structure as shown below. In the ...
1
vote
2answers
1k views

How to show visio in SharePoint without Visio services

I have a question about presenting a visio file in SharePoint. It doesn't matter in which version (2007 or 2010). Now we have 2007, but they are talking to migrate to 2010 so if you have a solution ...
1
vote
1answer
1k views

Build a menu in Silverlight 4/SharePoint 2010

What's the best/easiest approach of getting the vertical top menu items in a Silverlight web part? Is this possible with the client object model? As far as I can see this can only be used to retrieve ...
1
vote
2answers
361 views

How to Get Server Time in Silverlight

How do you get the server DateTime in Silverlight in SharePoint 2010?
1
vote
1answer
394 views

ClientContext error while embedding a Silverlight control on ASP page

I build a visual web part in asp.net and I'm trying to embed a xap over it so that users who don't have Silverlight installed would see the asp content: <object id="SilverlightPlugin1" ...
1
vote
1answer
278 views

Checking if list exists client-side

I'm developing a Silverlight web part and can't use server-side objects like SPList. I normally get items from a list called "Locations" which has two fields - "Title" and "WOEID". The problem is I'd ...
1
vote
1answer
115 views

Silverlight Application Development : Custom UI Form Development Beginner Question

So I am new to SP Dev, and completely new to the idea of developing Silverlight applications, and the use of Expression. But I am trying to understand how Expression gets used with Visual Studio in ...
1
vote
1answer
124 views

Cannot create site in different web application - Silverlight Client Object Model

I am developing a Silverlight application. It interacts with SharePoint 2010 using SharePoint Silverlight Managed Client Object Model. One of the application functionalities is to create a ...
1
vote
1answer
646 views

Multiple instances of webpart with custom EditorPart and SilverLight won't work with separate settings

I have a problem using multiple instances of a web part using custom properties. I made a web part using SilverLight 4, VS2010 and SP2010. The Web Part passes some custom properties to SilverLight ...
1
vote
2answers
2k views

lookup fields and client object model — i'm going bald?

new to the development world, not to sharepoint. I'm ultimately trying to populate a listbox with items from a multivalue lookup field. If it's a single lookup, no problem. When I make it a multi ...
1
vote
1answer
324 views

Help with Silverlight and SharePoint

As a continuation of my last question, I can get the data correctly now just I am having a problem getting it to display. I want it to be in a DataForm control but I seem to be unable to connect it ...
1
vote
1answer
91 views

SharePoint and Silverlight web part versions

We have a customer with several SharePoint installations, both 2007 and 2010. We are looking at developing Silverlight web parts. Is there a depenancy that you must use Silverlight 3 for SP 2007 and ...
1
vote
1answer
217 views

How can I pass theme and locale to a web part in SharePoint 2010?

I have a Silverlight 4 web application that needs to be added to an already-existing SharePoint application. SharePoint and the silverlight web app could be on the same server or different servers. ...
1
vote
0answers
28 views

SharePoint sp.js not running on Silverlight page

I am using sp.js to display logged in user name on top of my publishing site page. The code is working fine on all pages except on one page where I am displaying ORG BROWSER web part which is ...
1
vote
0answers
98 views

VS 2013 not deploying silverlight solution in sandboxed on stand alone dev: SPUCWorkerProcess not running error

I have a stand alone machine with SP2010 set up on Windows Server 2008 R2. Office, SPD, VS2013, Expression, etc. There is no AD or anything as it is stand alone installation using local accounts and ...
1
vote
1answer
170 views

SharePoint 2010 lists, libraries, other objects create button not work

I installed Microsoft SharePoint on my vmware. created new application and site collection serve for the url test.contoso.com. on my real machine I logged in to the url test.contoso.com and every ...
1
vote
1answer
214 views

Syntax of Caml Query in Silverlight 5

Is Dim _Query = CamlQuery.CreateAllItemsQuery a valid query? Or should it be: Dim _Query = CamlQuery.CreateAllItemsQuery() Or do I have to use: Dim _Query As New CamlQuery() _Query.ViewXml = ...
1
vote
0answers
144 views

How to trigger event receiver on library when adding items to library through silverlight control?

I created an event receiver which triggers when an item added to the library.And it is working fine when i am adding items at library level(By clicking upload in ribbon controller of library).But the ...
1
vote
0answers
65 views

Is it possible to use https with Client Object Model in Silverlight

I found here this QA: Connect client object model to https url which mentions this article how to do it in full .NET client object model. That would be great if the class ServicePointManager (MSDN) ...
1
vote
0answers
100 views

SharePoint 2010: How to add custom element to Create menu?

I want to add custom element to SharePoint 2010 Create menu. (Site Actions -> View all site content -> Create). I want to to add this element to Page directory like a "Web Part Page" element. How can ...
1
vote
0answers
605 views

UAG not redirecting SilverLight Org Chart Pic Links

We have a ForeFront UAG server publishing two SP 2010 web apps externally. The first is the portal site, and the second is My Sites. UAG is terminating SSL and is also redirecting any port 80 ...
1
vote
4answers
2k views

“Could not load file or assembly System.Windows.Controls” hosting Silverlight application

I'm working on a Silverlight 3 application. It works perfectly running within Visual Studio's ASP.NET Development Server. Now I need to make it run within SharePoint. I have the object tag hosted ...
0
votes
2answers
376 views

Playing video files

My site has a video library which is using default silverlight player to play videos. But videos are not playing and the error I am getting is Media failed to load. This file is in format that ...