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

Unknown namespace

1 Answer 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Durga
Top achievements
Rank 1
Durga asked on 01 Oct 2011, 02:28 PM

Hi,
 
I have donwloaded latest telerik contols (Version: 2011.2 920) for silverlight from the url (http://www.telerik.com/account/your-products/trial-product-versions/trial-single-download.aspx?pmvid=0&pid=571)

i just created sample application with control RadMaskedTextBox. i am getting following error.
i am using silverlight 3.0, vs 2008 and .Net framework 3.5

{System.Windows.Markup.XamlParseException: Unknown namespace http://schemas.telerik.com/2008/xaml/presentation. [Line: 37 Position: 43]
   at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)
   at System.Windows.Controls.Control.GetBuiltInStyle(IntPtr nativeTarget, IntPtr& nativeStyle)}

Code which i used:
<UserControl x:Class="SilverlightApplication6.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input">
  <Grid x:Name="LayoutRoot">
      <telerikInput:RadMaskedTextBox Margin="0,0,0,0"  Value="10" x:Name="txtZip">
        </telerikInput:RadMaskedTextBox>
  </Grid>
</UserControl>

Please help me., Thanks in Adavance

Thanks
Durga

1 Answer, 1 is accepted

Sort by
0
k f
Top achievements
Rank 1
answered on 03 Oct 2011, 01:58 PM
Durga,

Looking in the system requirements, I believe the SL controls will only work with Silverlight 4.

http://www.telerik.com/help/silverlight/installation-system-requirements.html

It is odd though that the documenation shows you how to install the tools in VS 2008.
If you are going to build a Silverlight app, I suggest you look at Silverlight 4 with the feature differences.  Plus we're not that far away from Silverlight 5 being released.




Tags
General Discussions
Asked by
Durga
Top achievements
Rank 1
Answers by
k f
Top achievements
Rank 1
Share this question
or