RichTextBox in PanelBar bug ?

2 posts, 0 answers
  1. Michal
    Michal avatar
    1 posts
    Member since:
    Oct 2010

    Posted 12 Oct 2010 Link to this post


    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>

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


  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 15 Oct 2010 Link to this post

    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
Back to Top