I want to display richtextbox without Ribbon. Please find the image how to display richtextbox
Thanks-
3 Answers, 1 is accepted
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.
Martin
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
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
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.
Vasil
Telerik
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 >>