Unknown namespace

2 posts, 0 answers
  1. Durga
    Durga avatar
    2 posts
    Member since:
    Oct 2011

    Posted 01 Oct 2011 Link to this post

    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

  2. k f
    k f avatar
    109 posts
    Member since:
    Jun 2006

    Posted 03 Oct 2011 Link to this post

    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.




Back to Top