This project is read-only.
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();
}
</script>

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="some.user@somedomain.com" PluginJSObject="slCtl"/>

Note:
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 8:38 AM by frodeh, version 5

Comments

myself85 Nov 30, 2012 at 5: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 9:48 PM 
Where do i install this control. Do i need to add it to GAC?

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