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

RichTextBox without Ribbon

3 Answers 84 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Pradnya
Top achievements
Rank 1
Pradnya asked on 22 May 2012, 09:32 AM
Hi All

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

Thanks- 

3 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 22 May 2012, 06:01 PM
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 >>

0
Vishnu
Top achievements
Rank 1
answered on 13 Oct 2013, 01:58 AM
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
0
Vasil
Telerik team
answered on 16 Oct 2013, 03:17 PM
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 >>
Tags
RichTextBox
Asked by
Pradnya
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Vishnu
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or