Skip to main content Skip to footer

Adding ComponentOne Silverlight Schedule to Kentico CMS

Here's a simple post before the holidays, I hope this helps! Since its version 4, Kentico CMS has natively supported hosting Silverlight applications on CMS pages. Now at version 5.5, Kentico supports Silverlight 4 applications.

1. Develop your Silverlight application in its own solution. For this sample, I did the Quick Start in our Silverlight Scheduler component (it's in the documentation).

image

2. Copy or Upload the XAP and associated DLLs to the %KenticoCMS%\ClientBin folder. On my local test machine, it's c:\inetpub\wwwroot\KenticoCMS\ClientBin.

image

3. Log in to your site's CMS Desk, and either create a new page or edit the one you want to host the Silverlight app in.

First, select the parent level for your page, and click New, then select Page (menu item).

image

Assign a page name, and choose a page template. In this case, I'm choosing a simple layout. Then choose Save.

image

Once the new page is created, choose the Design tab, and click the green to add a web part.

image

Search for Silverlight, and choose the Silverlight application web part.

image

4. Now we set the Web part properties. The most important setting is the Application Path in the General section. This should be the reltive path to your XAP, including the name of the XAP. The minimum version is Silverlight 2.0, but the components I'm using in the sample are version 4.

image

Click OK, and the Silverlight application should appear in the preview window:image

And in the actual page, it appears like below. Not bad, there is obviously some height settings to adjust, and that can be done by editing the web part properties from the CMS Desk.

image

That's it! Obviously developing the Silverlight application is the hard part, and that's something to tackle next week.

MESCIUS inc.

comments powered by Disqus