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

RichTextBox in PanelBar bug ?

1 Answer 31 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 12 Oct 2010, 03:37 PM

Hi

On my simple page like this:

01.<UserControl x:Class="RadRichTextBoxAndRadPanelBar.MainPage"
04.    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
05.    xmlns:telerikDocuments="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Documents"
07.    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
08.    <Grid x:Name="gridInside">
09.        <telerikNavigation:RadPanelBar>
10.            <telerikNavigation:RadPanelBarItem Header="Description">
11.                <telerikDocuments:RadRichTextBox x:Name="richtextboxContent" Height="100" />
12.            </telerikNavigation:RadPanelBarItem>
13.        </telerikNavigation:RadPanelBar>
14.    </Grid>
15.</UserControl>

When I expand PanelBar, application hangs and memory usage growing rapidly. It's a bug or I'm doing something wrong?

Thanks

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 15 Oct 2010, 01:08 PM
Hi Michal,

From the code snippet you sent, I noticed that you set only the RadRichTextBox Height property. Therefore the Width property is measured with infinity and causes the issue. This is why you need to set the RadRichTextBox Width property as well.

Give it a try and let us know if it works for you.

All the best,
Tina Stancheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
PanelBar
Asked by
Michal
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or