This is a migrated thread and some comments may be shown as answers.

errors with the HubTile

1 Answer 45 Views
HubTile
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nathan
Top achievements
Rank 1
Nathan asked on 20 Dec 2012, 09:50 PM
I'm trying to get the commands working on the HubTile but I get a fair few errors. With the below code, I get a an error of; "The namespace prefix "local" is not defined." and "MyCommand is not supported in a Silverlight project."

Any idea's?
<telerikPrimitives:RadHubTile Title="Timers" Margin="185,0,0,372" CommandParameter="The parameter!">
                <telerikPrimitives:RadHubTile.Command>
                    <local:MyCommand/>
                </telerikPrimitives:RadHubTile.Command>
            </telerikPrimitives:RadHubTile>

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 31 Dec 2012, 10:39 AM
Hi Nathan,

In order to use local as a namespace you first have to define it on top of your page. For example:

xmlns:local="MyNamespace"
MyNamespace should be the namespace in which MyCommand resides. Also, MyCommand must implement the ICommand interface.

I hope that's helpful.

All the best,
Victor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
HubTile
Asked by
Nathan
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or