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

MiniToolBar still on the screen

1 Answer 43 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 26 Dec 2010, 08:58 PM
I got a navigation:Page with 2 columns (using Grid,  <Grid.ColumnDefinitions> and so on).  The first column is just a stackpanel with some hyperlinks andd the second is  navigation:Frame. 

Each Hyperlink (left column) display a UserControl (right column).  One of this UserControls contain a RichTextBox.  When I display the MiniToolBar and I click on an another Hyperlink, the MiniToolBar still there!  See the attachement.

Any Idea?  For now, I have no choice and I disabled this very nice MiniToolBar (IsContextMenuEnabled="False").

Thank you and have a successful new year for all of you.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 29 Dec 2010, 05:11 PM
Hi Louis Bouchard,

We will consider some changes in the way the SelectionMiniToolBar is hidden, but as of now, you can hide it by explicitly invoking its Hide() method whenever you need to. In navigation applications, you can override the OnNavigatedFrom method like this:

protected override void OnNavigatedFrom(NavigationEventArgs e)
{
    this.radRichTextBox1.SelectionMiniToolBar.Hide();
}
If you have other questions, do not hesitate to contact us again.

Kind regards,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
RichTextBox
Asked by
Louis Bouchard
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or