Silverlight Application Unknown namespace http://schemas.telerik.com/2008/xaml/presentation. [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 http://schemas.telerik.com/2008/xaml/presentation. [Line: 10 Position: 246]

    This is my XAML:

    <UserControl x:Class="IMS_Silverlight_Telerik.Editor"
        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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        d:DesignHeight="600" d:DesignWidth="889" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
        
        <Grid x:Name="LayoutRoot" Background="White">
            <Grid Height="500">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <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}">
    .....etc

    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="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40818.0" style="text-decoration:none">
                   <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
              </a>
            </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

    Sander,

    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