ACS Blogs

A blog site for Architecting Connected Systems staff to tell the world about their exploits in
SharePoint 2007/2010, Windows Workflow Foundation (3.0/4.0) and other great technologies!
Welcome to ACS Blogs Sign in | Join | Help
in Search

CJG

SilverLight and SharePoint 2007 - Step by Step

After wading through lots of blogs on integrating SharePoint and SilverLight...I just gave up and decided to implement it on my own.  It ends up none of the blogs had ALL the steps! 

http://www.u2u.info/Blogs/Patrick/Lists/Posts/Post.aspx?ID=1794
http://www.wssdemo.com/Blog/archive/2008/03/24/installing-the-sharepoint-blueprint-for-silverlight-silverlightpart.aspx

Alot of them point you to the SilverLight BluePrint, which actually doesn't help much either:

http://sl4sp.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=19961

I just wanted a no Visual Studio way of setting up SilverLight and SharePoint...I figured it out after a few hours (a long time for me to figure something out)...So, here is a step by step PDF of the process...Right click the link below and select to download the file (don't click on it).

Chris

Published Thursday, May 21, 2009 2:57 AM by cjg
Attachment(s): Microsoft Word - xx_Lab02_SilverLight.pdf

Comments

 

James said:

I uploaded 2 files on to Calculator.js and Calculator.xaml files on to Shared Documents list. Then I am calling those files on to default.aspx page (Team site).

<asp:ScriptManager ID="ScriptManager1" runat="server">

        <Scripts>

        <asp:ScriptReference Name="SilverlightControl.js" Assembly="System.Web.Silverlight"/>

       <asp:ScriptReference Path="../Shared Documents/Calculator.js" />

   </Scripts>

   </asp:ScriptManager>

AND

          <asp:Silverlight runat="server" ID="Silverlight1" Height="340" Width="320" Source="../Shared Documents/Calculator.xaml" ScriptType="Custom.Calculator" OnPluginError="errorHandler"/>

Page loading with blank sliverlight control with error at silver control place tag

Line: 752

Char: 5

Error: 'Custom' is undefined

Code: 0

Is that mean, unable to find files in shared documents list?

May 29, 2009 9:18 AM
Anonymous comments are disabled

This Blog

Syndication

Powered by Community Server, by Telligent Systems