Telerik Forums
UI for WinForms Forum
8 answers
580 views
Hello All,

I have a requirement to print a number of RTF notes as a single document. I tried to create a RadDocument for each note and merge them, but unable to get it done.
Please guide me through the appropriate way to achieve this functionality.

Thanks
Pawan
Tanya
Telerik team
 answered on 01 Nov 2018
6 answers
296 views
 I'm Using  telerik  2011.3.11.1219 . I want  horizontal scroll bar in Radrichtextbox. How to enable the that ?????
Hristo
Telerik team
 answered on 02 Jul 2018
7 answers
339 views
Hi,

How can we import rtf into RadRichTextbox. We got the following code.

public RadDocument ImportDocx()
{
    RadDocument document = null;
    IDocumentFormatProvider provider = new DocxFormatProvider();
    OpenFileDialog openDialog = new OpenFileDialog();
    openDialog.Filter = "Documents|*.docx";
    openDialog.Multiselect = false;
    DialogResult dialogResult = openDialog.ShowDialog();
    if (dialogResult == System.Windows.Forms.DialogResult.OK)
    {
        using (FileStream stream = new FileStream(openDialog.FileName, FileMode.Open))
        {
            document = provider.Import(stream);
        }
    }
    return document;
}

But, it is not working. It is crashing while it tries to create the stream.

Please help us on this.
Dimitar
Telerik team
 answered on 02 Jun 2016
4 answers
44 views
How I can change language? The platform is Windows Form with c #
Raymundo
Top achievements
Rank 1
 answered on 11 Jan 2016
3 answers
309 views

Dear this is wamiq

i have a problem in my rich text editor when i am using arabic font , actually the sceerio is that when i paste arabic text  into my rich text  editor and then try to change it to other arabic font from the font dropdown up in the main menu of rich text  it's destroying all the text,, 

Can you please assist me im attaching image for reference

Hristo
Telerik team
 answered on 01 Sep 2015
12 answers
72 views
I have a RichTextBox control on my form.  I change the font and type some text.  It looks fine on screen.  I export the RadDocument to RTF using the RtfFormatProvider.  It changes the font to Calibri, no matter what I initially set it at.  Is there some trick to getting the RadDocument to export out the proper font?

Dimitar
Telerik team
 answered on 31 Aug 2015
3 answers
68 views
Is Word Art supported by the DocxFormatProvider?  I'm able to import Word documents with graphics but some of the "Word Art" is not showing in the RadRichTextBox.
Dimitar
Telerik team
 answered on 21 May 2015
1 answer
43 views
Hello

I use the RadRichTextBox component (version 2014.1.402.40)

When I try to load a specific html source, I get an IndexOutOfRangeException exception.

It's works with other source, but one specific source create this problem.


My simple code :

var mail = File.ReadAllText(@"Mailtest2.html");
var htmlProvider = new HtmlFormatProvider();
radRichTextBox1.Document = htmlProvider.Import(mail); // ERROR / IndexOutOfRangeException

The HTML Source :

<html><head></head>
<body style = 'font-family:Arial, Helvetica, sans-serif; font-size:12px;'>
Bonjour,
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<br><br>
<table border=0 style = 'font-family:Arial, Helvetica, sans-serif; font-size:12px;font-weight:bolder;'>
<tr>
<td rowspan=4 style="width:80px;"></td>
<td colspan=2></td>
</tr>
<tr>
<td>
<br></td>
<td>
<br></td>
</tr>
<tr>
<td colspan=2></td>
</tr>
</table>
<br><br><br><br>
</body>
</html>


Thank you very much for your help and sorry for my bad english
Dimitar
Telerik team
 answered on 26 Feb 2015
1 answer
55 views
Hi, 

We are using a RadDocument using the paged layout to show tabular content.
We create a table and inside each row we place some paragraphs. These paragraphs may have "SpaceAfter" property to zero, one or two lines. 

One requisite of our application is to know how many rows are in each of the pages, so we can insert an extra row at the bottom of each page summarising the page rows and save it as a word document.

We were using the method "GetAssociatedLayoutBoxes" to get the layout box associated with each row and its heigth. However it seems that the size of the box is different than the actual size when exported to word using the DocxExporter.

It seems that the layout engine works different in RadRichTextBox than MS Word. For example, if I open the same document using word it appears that 12 rows are shown on the first page, but if I open the same document using RadRichTextEditor there will be 16 rows shown on the first page. The page margins are the same in both cases.

After deeply looking at the differences I would think that difference is due mainly to two things:
- The "SpaceAfter" property is rendered diffently by MS Word than the richtextbox
- The table borders take some space in MS Word and push the content down, but they do not behave in the same way on Radrichtexteditor. Even more, if I increase the table border width, the table seems to "grow" towards inside the cell instead of increasing the table height and width.

Is there any suggested workaround for this?
 Will this be handled differently on Q3 2014 ?

Dimitar
Telerik team
 answered on 13 Oct 2014
8 answers
128 views
Hi.

I'm a little new in telerik controls, but i have a problem with RichTextbox. When I try to type letter 'Ä…', which is combination of keys Alt + a, the text in control is selected but I have not the letter 'Ä…' in my control. Is there any possible to disable shortcuts in RichTextBox ?
Thanks for the response.
Best regards
Lukasz
Paweł
Top achievements
Rank 1
 answered on 09 Oct 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?