This question is locked. New answers and comments are not allowed.
I have a RadRichTextBox with an InlineUIContainer that hosts a RadExpander. In the RadExpander is another RadRichTextBox. As long as the expander does not house a RadRichTextBox, the export to xaml works fine. If the RadExpander houses a RadRichTextBox, then the export hangs.
Does anyone have any idea why this would hang my browser when the expander houses a radrichtextbox?
Thanks,
<
Grid
Height
=
"500"
Name
=
"gridRadRtbParent"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
<
RowDefinition
Height
=
"Auto"
/>
</
Grid.RowDefinitions
>
<
telerik:DocumentRuler
AssociatedRichTextBox
=
"{Binding ElementName=rtb}"
Grid.Row
=
"1"
/>
<
telerik:RadRichTextBox
Grid.Row
=
"1"
HorizontalAlignment
=
"Stretch"
IsContextMenuEnabled
=
"True"
IsSelectionMiniToolBarEnabled
=
"True"
IsSpellCheckingEnabled
=
"True"
LayoutMode
=
"Flow"
Margin
=
"24,24,0,0"
Name
=
"rtb"
VerticalAlignment
=
"Stretch"
>
<
telerik:RadDocument
>
<
telerik:Section
>
<
telerik:Paragraph
>
<
telerik:Span
Text
=
"Some text before expander"
/>
</
telerik:Paragraph
>
</
telerik:Section
>
<
telerik:Section
>
<
telerik:Paragraph
>
<
telerik:InlineUIContainer
>
<
telerik:RadExpander
x:Name
=
"expander2"
SizeChanged
=
"expander_SizeChanged"
>
<
telerik:RadRichTextBox
x:Name
=
"rtbChild2"
>
<
telerik:RadDocument
>
<
telerik:Section
>
<
telerik:Paragraph
>
<
telerik:Span
Text
=
"Some text Inside expander"
/>
</
telerik:Paragraph
>
</
telerik:Section
>
<
telerik:Section
>
<
telerik:Paragraph
>
<
telerik:Span
Text
=
"Some more text Inside expander"
/>
</
telerik:Paragraph
>
</
telerik:Section
>
</
telerik:RadDocument
>
</
telerik:RadRichTextBox
>
</
telerik:RadExpander
>
</
telerik:InlineUIContainer
>
</
telerik:Paragraph
>
</
telerik:Section
>
<
telerik:Section
>
<
telerik:Paragraph
>
<
telerik:Span
Text
=
"Some text after expander"
/>
</
telerik:Paragraph
>
</
telerik:Section
>
</
telerik:RadDocument
>
</
telerik:RadRichTextBox
>
<
telerik:RadRichTextBoxRibbonUI
BackstageClippingElement
=
"{Binding ElementName=gridRadRtbParent}"
CollapseThresholdSize
=
"50,50"
DataContext
=
"{Binding Path=Commands, ElementName=rtb}"
>
Does anyone have any idea why this would hang my browser when the expander houses a radrichtextbox?
Thanks,