MiniToolBar still on the screen

2 posts, 0 answers
  1. Louis Bouchard
    Louis Bouchard avatar
    94 posts
    Member since:
    Feb 2010

    Posted 26 Dec 2010 Link to this post

    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.
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 29 Dec 2010 Link to this post

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