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

    Thanks- 
  2. Martin Ivanov
    Admin
    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,
    Martin
    the Telerik team

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

  3. DevCraft banner
  4. Vishnu
    Vishnu avatar
    5 posts
    Member since:
    Sep 2013

    Posted 12 Oct 2013 Link to this post

    Hi,

    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
  5. Vasil
    Admin
    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.

    Regards,
    Vasil
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    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