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

C# does not recognize Section, Paragraph, Table

2 Answers 82 Views
RichTextBox (obsolete as of Q3 2014 SP1)
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Claude asked on 04 Feb 2013, 06:11 AM
I created a new project to start working with the RadRichTextBox item.  However, when I have tried to copy code from the forum into the project (for instance, the code found at http://www.telerik.com/community/forums/winforms/richtextbox/inserting-an-image-into-richtextbox-table.aspx), the project fails to recognize the types Section, Table, TableRow, TableCell, ImagineInline, Paragraph, as well as all the others not defined in standard C#.  I think all the required dlls are present, and I am supplying the correct using statements at the top.

I cannot find out where those classes are defined in the telerik namespace so I can refer to them.

I am using the latest version, 2012 Q3.

Any suggestions would be appreciated.

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 07 Feb 2013, 01:50 PM
Hi Claude,

Thank you for writing.

The assembly that contains these types is Telerik.WinControls.RichTextBox.dll and you should add a reference to it. Next, you have to include the following namespace in the form where the types in question are used:
using Telerik.WinControls.RichTextBox.Model;

For more information about tables in RadRichTextBox, you can read the following documentation article: http://www.telerik.com/help/winforms/richtextbox-features-document-elements-tables.html.

I hope this helps.

Kind regards,
Plamen
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
0
Claude
Top achievements
Rank 1
answered on 10 Feb 2013, 10:52 PM
Thanks.  The using statement you provided solved the problem.
Tags
RichTextBox (obsolete as of Q3 2014 SP1)
Asked by
Claude
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Claude
Top achievements
Rank 1
Share this question
or