Search Wiki:
silverpart.jpg

Project Description

This project includes a Silverlight wrapper Web Part that can be used in SharePoint 2007 (MOSS) or WSS 3.0 to expose Silverlight content.

The goal of this project is to create a generic web part that has custom properties that provide flexibility for embedding different Silverlight applications in SharePoint sites.

The SilverPart Web Part was created with the intention of allowing the integration of Silverlight and SharePoint technologies in order to create full RIA applications.


RIA.jpg

Software Requirements

  • Server
    • .NET Framework 3.0
    • MOSS 2007 (or WSS 3.0)
  • Client
    • Compatible Silverlight browser and operating system
    • UPDATED: Silverlight 1.0 or Silverlight 2 Beta 2 plug-in installed (Note that Silverlight 2 Beta 1 is not supported anymore on this release)

Features

  • Ability to expose Silverlight Applications 1.0 or Silverlight 2 Beta 2 Applications in SharePoint 2007 or WSS 3.0 websites
  • Support for Silverlight 2 applications (.xap files)
  • Enhanced Web Part Editor to expose only relevant properties when a plug-in version is selected
  • No need to create a createSilverlight.js wrapper file to instantiate the Silverlight control (Silverlight 1.0)
  • The Silverlight control parameters are configured via Web Part properties
  • Each control is instantiated with an unique ID to avoid conflicts when using multiple Silverlight controls on the page
  • Ability to specify multiple JavaScript code-behind files (Silverlight 1.0)
  • Built-in default values for the most common Silverlight properties
  • Ability to pass parameters to the Silverlight control via the initParams property
  • No need to make changes to the SharePoint web.config file (e.g. configure Ajax Extensions)
  • No need to have ASP.NET 3.5 Extensions installed (it doesn't use the ASP.NET Silverlight Control to instantiate the plugin)
  • UPDATED: Ability to configure the image and URL to download Silverlight in case the plugin is not installed (by default points to Silverlight 2 Beta 2 installation file, but it can be manually configured)

Known Limitations

  • The onLoad and onError events are not exposed via the SilverPart Web Part properties

Planned Future Enhancements

  • Use of ASP.NET Silverlight Control to instantiate the plugin wWhen ASP.NET 3.5 extensions is released)
  • Audience Targetting to show/hide Web Part based on security groups
  • Implement Interface to allow connections between other webparts

Documentation

  • SilverPart Installation Instructions - New documentation for Beta 2.0 coming soon
  • SilverPart Configuration Instructions - New documentation for Beta 2.0 coming soon

Use of CodePlex Projects


License


This is an Beta release. Beta release versions are not suitable for production use and may contain errors.

Last edited Jul 7 at 6:01 PM  by anoguei, version 64
Comments
Biud wrote  Jul 18 at 8:22 AM  
It works very well.
Thanks a lot !

heguangm wrote  Aug 4 at 9:21 PM  
I got errors: Cannot instantiate Silverlight content. Make sure you have the right Silverlight plugin installed. Please contact your administrator.

I am pretty sure I have silverlight 2 - beta 2 plug in installed because the silvierlight app not in sharepoint web part works.

any ideas?

HeToC wrote  Aug 25 at 10:04 AM  
Hi ppl.
I've found a problem with using Silver light application + your web part + WCF service.
I'm trying to invoke simple hello-world function and everything works fine until i assigned my .xap file with your web-part.
Error:
An exception occured during the operation, making the result invalid.

help me plz.
thx

Updating...