Add Horizontal Line to RadRichTextEditor

7 posts, 1 answers
  1. Simon
    Simon avatar
    32 posts
    Member since:
    Aug 2011

    Posted 14 Mar 2017 Link to this post

    How do I add a grey horizontal line to the rich text editor?
  2. Simon
    Simon avatar
    32 posts
    Member since:
    Aug 2011

    Posted 14 Mar 2017 in reply to Simon Link to this post

    (programatically)
  3. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3047 posts

    Posted 15 Mar 2017 Link to this post

    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.
  4. Simon
    Simon avatar
    32 posts
    Member since:
    Aug 2011

    Posted 16 Mar 2017 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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?

  5. Answer
    Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3047 posts

    Posted 16 Mar 2017 Link to this post

    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.
  6. Ali
    Ali avatar
    5 posts
    Member since:
    Aug 2018

    Posted 28 Aug 2018 Link to this post

    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.

  7. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3047 posts

    Posted 29 Aug 2018 Link to this post

    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.
Back to Top