Silverlight Application Unknown namespace [Line: 10 Position: 246]

2 posts, 0 answers
  1. Sander
    Sander avatar
    17 posts
    Member since:
    Apr 2008

    Posted 29 Sep 2011 Link to this post

    Hi All,

    I have the following problem: Silverlight Application Unknown namespace [Line: 10 Position: 246]

    This is my XAML:

    <UserControl x:Class="IMS_Silverlight_Telerik.Editor"
        d:DesignHeight="600" d:DesignWidth="889" xmlns:telerik="">
        <Grid x:Name="LayoutRoot" Background="White">
            <Grid Height="500">
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                <telerik:DocumentRuler AssociatedRichTextBox="{Binding ElementName=radRichTextBox1}" Grid.Row="1" />
                <telerik:RadRichTextBox Grid.Row="1" HorizontalAlignment="Stretch" IsContextMenuEnabled="True" IsSelectionMiniToolBarEnabled="True" IsSpellCheckingEnabled="True" LayoutMode="Paged" Margin="24,24,0,0" Name="radRichTextBox1" VerticalAlignment="Stretch" />
                <telerik:RadRichTextBoxRibbonUI DataContext="{Binding Path=Commands, ElementName=radRichTextBox1}">

    This is hosted on a ASP.Net web application with this code:

     <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
              <param name="source" value="ClientBin/IMS Silverlight Telerik.xap"/>
              <param name="onError" value="onSilverlightError" />
              <param name="background" value="white" />
              <param name="minRuntimeVersion" value="3.0.40818.0" />
              <param name="autoUpgrade" value="true" />
              <a href="" style="text-decoration:none">
                   <img src="" alt="Get Microsoft Silverlight" style="border-style:none"/>
            </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>

    All the references are set and still i get this error, pleeeease help.....

    Regards Sander

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

    Posted 03 Oct 2011 Link to this post


    Can you expand the references folder for the silverlight app that you have this user control defined in?

    What Telerik references show up here and also where do they point to?

    Also, are you in Visual Studio 2010 and are you trying to debug?  if so is there anything in the output window?   Or on the exception, Is the inner exception populated?  If so can you drill down and see if there is any more details?

    My guess off what you have posted is that you don't have all the assembly references added.

    Also, how many projects in your solution?  Are you just using an Asp.Net web site and then have only one Silverlight project?  Or is this a modular app with more than one Silverlight project?

Back to Top