The control is fairly easy to use, the only thing you need to have in place beyond the control itself is a javascript reference to the Silverlight object.
This is done like so:

<script type="text/javascript">
var slCtl;
function pluginLoaded(sender,args){
slCtl = sender.getHost();

Then you add the pluginLoaded function as an onLoad parameter in your Silverlight host, like so:
<param name="onLoad" value="pluginLoaded" />

Now you need to set the name of the javascript object in the PluginJSObject property of the control:
<ocs:PresenceIndicator User="" PluginJSObject="slCtl"/>

This control uses the Name.dll ActiveX so it will only work if the Silverlight is on a trusted site.
Also: Make sure your Silverlight container has an id ex. <object id="silverlight" data="data:application/x-silverlight-2,.... />

Last edited Jan 6, 2010 at 7:38 AM by frodeh, version 5


myself85 Nov 30, 2012 at 4:38 PM 
Added the Scheduler-Project to my Sollution.
Added a Reference to Scheduler to my Silverlight project.

got ->
The type 'Label' was not found. [Line: 1260 Position: 130]

Any suggestions?

SPSuvarna Apr 6, 2011 at 8:48 PM 
Where do i install this control. Do i need to add it to GAC?

apt May 25, 2010 at 6:38 AM 
Great Job. It helped me out !!! :)