Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Fixing the UnKnown Namespace Error for Windows Phone

DZone's Guide to

Fixing the UnKnown Namespace Error for Windows Phone

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

If you are getting the similar “UnKnown Namespace ” Error like the one shown in the screenshot below when using the Telerik RadControls for Windows Phone , then it might be because of the wrong namespace being declared in the PhoneApplicationPage.

The type ‘RadRating’ was not found because ‘http://schemas.telerik.com/windowsphone’ is an unknown namespace. [Line: 32 Position: 114]

Telerik RadControls for Windows Phone – Article #4 – UnKnown Namespace Error

I got this error when using the RadRating control in a sample WP7 project .

To fix the above error , i modified the name space in XAML page

From

xmlns:telerik=”http://schemas.telerik.com/windowsphone”

To

xmlns:telerik=”clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input”

Thats it . Everything started working normally :)

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:

Published at DZone with permission of Senthil Kumar, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}