SelectionMiniToolbar not allowing font changes

2 posts, 0 answers
  1. Dave
    Dave avatar
    39 posts
    Member since:
    Jun 2008

    Posted 23 Apr 2013 Link to this post

    I've been using the RadRichTextBox on my Silverlight 5 LOB app for a long time, and some time back had to make a change that I got from the forums/examples here to get the Mini toolbar to come up since I'm not using a ribbon.

    Just today people started noticing that depending upon where (vertically) in the RTB the text is, they may or may not be able to change the font via the mini toolbar. In testing in the full app, it appears if the mini toolbar is outside the border of the RTB, I can't change the font... this is very similar to a Filter issue I reported in WPF last week.

    In this case, and based on the response I got from the WPF post, Ive put together an extremely small SL5 app that I can attach here. The app consists of a Grid containing one RTB. The Grid is centered on the browser, and in this example, you cannot change the font no matter what line you're on.

    We are using 2013.1.220.1050

    Thanks in advance


    huh... guess I thought we could upload projects zipped... but no... so in that case, here's the xaml:

    <UserControl xmlns:telerik=""  x:Class="SLDemoApp.MainPage"
        d:DesignHeight="300" d:DesignWidth="400">
        <Grid x:Name="LayoutRoot" Background="White"
    <telerik:RadRichTextBox x:Name="richTextBox2"

    and here's the code behind:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Windows.Controls;
    using Telerik.Windows.Controls.RichTextBoxUI;
    using Telerik.Windows.Controls.RichTextBoxUI.Dialogs;
    namespace SLDemoApp
        public partial class MainPage : UserControl
            public MainPage()
                richTextBox2.FindReplaceDialog = new FindReplaceDialog();
                richTextBox2.InsertHyperlinkDialog = new RadInsertHyperlinkDialog();
                richTextBox2.ParagraphPropertiesDialog = new RadParagraphPropertiesDialog();
                richTextBox2.InsertSymbolWindow = new RadInsertSymbolDialog();
                richTextBox2.ContextMenu = new Telerik.Windows.Controls.RichTextBoxUI.ContextMenu();
                richTextBox2.SelectionMiniToolBar = new SelectionMiniToolBar();
                richTextBox2.InsertTableDialog = new InsertTableDialog();
                richTextBox2.TablePropertiesDialog = new TablePropertiesDialog();
                richTextBox2.FontPropertiesDialog = new FontPropertiesDialog();

  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 25 Apr 2013 Link to this post

    Hello Dave,

    I was not able to find the same dependency you did. There is a known issue that the combo boxes for FontFamily and FontSize cannot be used when the context menu is also opened (which happens when you right-click in the text). Other than that, the SelectionMiniToolBar seems to work in the same way regardless of the position it is meant to occupy on the page (with or within the borders of the editor).

    If you don't agree, we would appreciate it if you could record a video and post a link to it, so that we can observe the behavior on your end and perform the same steps. This can be done using Jing for example.

    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top