jump to navigation

I make a Silverlight host August 3, 2010

Posted by Toby77006 in PivotViewer.
trackback

This was the easy part. I had downloaded the control at the beginning of all this from http://www.silverlight.net/learn/pivotviewer. You have to add references to 5 DLLS with names beginning System.Windows.Pivot, and make sure you have a namespace xmlns:pivot. If you get silly COM errors or “Child of another element” messages, just keep doing Build until they go away.

I chose to host the control in the regular TestPage.html rather than an aspx because I intended to locate it in Windows Azure Blob Storage. I created a simple header panel in xaml to sub for the “collection properties” which I grumbled about in my last post.

The only reason my program did not work first time was that I needed two very simple handlers for ItemDoubleClicked and LinkClicked events. Tim Heuer’s quickstart provided examples.

Advertisement

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.