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

Add Horizontal Line to RadRichTextEditor

6 Answers 269 Views
RichTextEditor
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 14 Mar 2017, 05:48 AM
How do I add a grey horizontal line to the rich text editor?

6 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 14 Mar 2017, 10:37 PM
(programatically)
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 15 Mar 2017, 09:51 AM
Hello Simon,

Thank you for writing.  

Currently, RadRichTextEditor doesn't a horizontal line. However, it seems to be a reasonable request. I have logged it in our feedback portal and I have added a vote for it on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Simon
Top achievements
Rank 1
answered on 16 Mar 2017, 05:52 AM

Hi Dess

I was trying to get it to work by adding a table with a height of 1 so that it looks like a line, but I haven't been able to get the table to have a height of 1. Would it be possible to do it this way and if so, how would I get the table to have a height of 1?

0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 16 Mar 2017, 11:13 AM
Hello Simon, 

Thank you for writing back. 

Here is a sample code snippet which result is illustrated in the attached screenshot:
public RadForm1()
{
    InitializeComponent();
 
    RadDocument document = new RadDocument();
    Section section = new Section();
 
    Table table = new Table();
    table.StyleName = RadDocumentDefaultStyles.DefaultTableGridStyleName;
    TableRow row1 = new TableRow();
 
    TableCell cell1 = new TableCell();
    Paragraph p1 = new Paragraph();
    Span s1 = new Span();
    s1.Text = " ";
 
    p1.FontSize = 0;
    p1.LineSpacing = 0;
    p1.SpacingAfter = 0;
    p1.SpacingBefore = 0;
    p1.Inlines.Add(s1);
    cell1.Blocks.Add(p1);
    row1.Cells.Add(cell1);
 
    table.Rows.Add(row1);
    section.Blocks.Add(new Paragraph());
    section.Blocks.Add(table);
    section.Blocks.Add(new Paragraph());
    document.Sections.Add(section);
 
    this.radRichTextEditor1.Document = document;
 
}

I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Ali
Top achievements
Rank 2
answered on 28 Aug 2018, 10:47 AM

Hello admin,

When i am droping richtexteditor on the winform then it shows in the below section.

kindly help me out. i want richtexteditor to be editable when i execute.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Aug 2018, 09:29 AM
Hello, Ghaffar,

Thank you for contacting Telerik Support.

Your question has already been answered in the other thread you have opened on the same topic. Please, see our answer there for more information.
We kindly ask you to use just one thread for a specific problem to contact us. Posting the same questions numerous times slows down our response time because we will need to review and address two or more tickets instead of one. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

Thank you for your understanding.

Regards,
Dess
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RichTextEditor
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Ali
Top achievements
Rank 2
Share this question
or