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

RadRichTextBox always blank

1 Answer 35 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Lilian
Top achievements
Rank 1
Lilian asked on 07 Dec 2015, 02:26 PM

Hi,

 

I'm trying to use the RadRichTextBow to perform some printings but after lots of tries, the richtextbowx is still always blank....

I even try to create a new project with only a span with no success....

 

<Window x:Class="WpfApplication1.MainWindow"
        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:local="clr-namespace:WpfApplication1"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadRichTextBox x:Name="test">
            <telerik:RadDocument>
                <telerik:Section>
                    <telerik:Paragraph>
                        <telerik:Span Text="Span declared in XAML" />
                    </telerik:Paragraph>
                </telerik:Section>
            </telerik:RadDocument>
        </telerik:RadRichTextBox>
    </Grid>
</Window>

Am I doing something really wrong ? Maybe a missing reference...

1 Answer, 1 is accepted

Sort by
0
Lilian
Top achievements
Rank 1
answered on 07 Dec 2015, 03:37 PM
Ok I fixed it...I was using the NoXaml libraries...
Tags
RichTextBox
Asked by
Lilian
Top achievements
Rank 1
Answers by
Lilian
Top achievements
Rank 1
Share this question
or