RichTextBox without Ribbon

4 posts, 0 answers
  1. Pradnya
    Pradnya avatar
    31 posts
    Member since:
    Aug 2011

    Posted 22 May 2012 Link to this post

    Hi All

    I want to display richtextbox without Ribbon. Please find the image how to display richtextbox

  2. Martin Ivanov
    Martin Ivanov avatar
    104 posts

    Posted 22 May 2012 Link to this post

    Hello Pradnya,

    RadRichTextBox and RadRichTextBoxRibbonUI are two different controls so there should be no problem separating them.
    You can use the rich text box in flow mode so there are no pages, just the editing space. Here is a sample code:

    <telerik:RadRichTextBox Name="radRichTextBox" LayoutMode="Flow" Width="720" Height="140" />

    As for the UI for saving a document and performing undo and redo, you can use RadToolBar. As long as you set the DataContext of the tool bar to the Commands property of RadRichTextBox, you can bind the buttons in it to the Undo and Redo commands and the SaveCommand, similarly to how this is done in RadRichTextBoxRibbonUI.

    Don't hesitate to contact us if you have other questions. 

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Vishnu
    Vishnu avatar
    5 posts
    Member since:
    Sep 2013

    Posted 12 Oct 2013 Link to this post


    I am using RadRichTextBox control without Ribbon UI(i have designed separate User control for the Ribbon UI which works fine). For certain values of FontSize, if i change the FontStyle from Normal to Italic, the last character is getting cut-off. I did lot of research on this but could not figure out the issue. Is it something related to the DIP to Points conversion? 

    (Ex: for fontsize 12, i see complete text even when changed the style from Normal to Itaclic, but when i change the fontsize to 10 and change the style from Normal to Italic, the last character is getting cut-off )

    Anyhelp on this appreciated
  4. Vasil
    Vasil avatar
    124 posts

    Posted 16 Oct 2013 Link to this post

    Hello Vishnu,

    Could you please elaborate a little bit more on this matter as: with what fonts you are observing this problem; is it reproducible with all kinds of characters or only with specific characters? We would highly appreciate if you could send us some screenshots demonstrating the problem.

    Looking forward to your response.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top