This question is locked. New answers and comments are not allowed.
Hello everybody,
I'm trying to use a RadDocument to print some form data. To integrate the form XAML into the RadDocument, I'm wrapping it into an InlineUIContainer. Unfortuately, it only seems to work if I wrap a single XAML element ( the "test test test" textblock, section2). The grid in section1 and its contents are not shown.
Does anybody know how to make this work?
I'm trying to use a RadDocument to print some form data. To integrate the form XAML into the RadDocument, I'm wrapping it into an InlineUIContainer. Unfortuately, it only seems to work if I wrap a single XAML element ( the "test test test" textblock, section2). The grid in section1 and its contents are not shown.
Does anybody know how to make this work?
<telerik:RadRichTextBox IsReadOnly="True" > <telerik:RadDocument> <telerik:RadDocument.Sections> <telerik:Section x:Name="section1"> <telerik:Paragraph> <telerik:InlineUIContainer > <Grid> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Text="ID" /> <TextBlock Grid.Row="1" Text="1" /> </Grid> </telerik:InlineUIContainer> </telerik:Paragraph> </telerik:Section> <telerik:Section x:Name="section2"> <telerik:Paragraph> <telerik:InlineUIContainer> <TextBlock Text="Test Test Test" /> </telerik:InlineUIContainer> </telerik:Paragraph> </telerik:Section> </telerik:RadDocument.Sections> </telerik:RadDocument> </telerik:RadRichTextBox>