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

Cannot create an instance of "RadRichTextBox"

1 Answer 155 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Prasad
Top achievements
Rank 1
Prasad asked on 16 Apr 2012, 05:57 AM
Hi ,

I am new to Telerik RadRichTextBox control. I want to use this control in a silverlight application.

I started using this as per the instructions in http://www.telerik.com/help/silverlight/radrichtextbox-getting-started.html

while building the application i am getting the following error
1) Cannot create an instance of "RadRichTextBox"
2) The tag 'RadRichTextBox' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.

My xaml looks like
<UserControl x:Class="SilverlightApplication3.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:telerikXAML="clr-namespace:Telerik.Windows.Documents.FormatProviders.Xaml;assembly=Telerik.Windows.Documents.FormatProviders.Xaml"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400"
              xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot"
          Background="White">
        <telerik:RadRichTextBox Width="300" Height="400" IsReadOnly="False">

        </telerik:RadRichTextBox>
    </Grid>
</UserControl>

Please respond ASAP

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 17 Apr 2012, 01:09 PM
Hi Prasad,

Please, make sure that you have added all required references as listed here. Note that there are different versions of RadControls for Silverlight  - built for Silverlight 4 or Silverlight 5 respectively. The version of controls you are using must match the Target Framework of your project.
If you are not able to resolve the problem, we would appreciate it if you could open a support ticket and attach a sample project as a zip file there.

Regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
RichTextBox
Asked by
Prasad
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or