Nested List support

11 posts, 0 answers
  1. Ben
    Ben avatar
    19 posts
    Member since:
    Aug 2010

    Posted 09 Aug 2010 Link to this post

    I'm trying to add the following content to the RadTextEditor, but it doesn't seem to support nested list.  Any idea on when this will be supported or if there is a workaround?

    This is the Content I'm trying to add:

    1. Introduction

        a. Location   

            i. Mountains

            ii. In a Valley

        b. Weather    

            i. Cloudy

            ii. Hot

            ii. Humid

    2. Main Body

        etc.       

  2. Ivailo Karamanolev
    Admin
    Ivailo Karamanolev avatar
    276 posts

    Posted 10 Aug 2010 Link to this post

    Hello Ben,

    Currently, RadRichTextBox does not support nested lists. This feature is on our to-do list for Q3. However, you can simulate the appearance of nested lists programatically. The code below will create a document basically for what you want, unfortunately currently the list support is limited to numbers and bullets but no letters.

    void CreateParagraph(Section section, DocumentListBase list, int leftIndent, string text)
    {
        Paragraph paragraph = new Paragraph();
        section.Paragraphs.Add(paragraph);
        list.AddParagraph(paragraph);
        paragraph.LeftIndent = leftIndent;
        paragraph.Inlines.Add(new Span(text));
    }
     
    void CreateTestDocument()
    {
        RadDocument document = new RadDocument();
        Section section = new Section();
        document.Sections.Add(section);
     
        NumberedList list1 = new NumberedList();
        NumberedList list2 = new NumberedList();
        NumberedList list3 = new NumberedList();
     
        CreateParagraph(section, list1, 0, "Introduction");
        CreateParagraph(section, list2, 20, "Location");
        CreateParagraph(section, list3, 40, "Mountains");
        CreateParagraph(section, list3, 40, "In a Valley");
        CreateParagraph(section, list2, 20, "Weather");
        CreateParagraph(section, list3, 40, "Cloudy");
        CreateParagraph(section, list3, 40, "Hot");
        CreateParagraph(section, list3, 40, "Humid");
        CreateParagraph(section, list1, 0, "Main Body");
    }
    Let us know if you need further assistance.

    Regards,
    Ivailo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. James
    James avatar
    117 posts
    Member since:
    Mar 2009

    Posted 29 Sep 2010 Link to this post

    Hi Ivalio,

    I was looking for this too, and thought there was something wrong with my code. Please can you confirm that this will still be part of the Q3 release? Also, is the Q3 release expected in Q3 or does it have a different timetable? (Would be very useful to know this to help with planning.)

    Thanks, James.
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 30 Sep 2010 Link to this post

    Hello James,

    The nested lists support is still scheduled for Q3, which is to be shipped around mid-November. If everything goes according to plan, this feature should be available in it.

    Best wishes,
    Iva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. James
    James avatar
    117 posts
    Member since:
    Mar 2009

    Posted 30 Sep 2010 Link to this post

    Hi Iva,

    Thanks - that's very useful to know.

    James.
  7. James
    James avatar
    117 posts
    Member since:
    Mar 2009

    Posted 17 Nov 2010 Link to this post

    Hi,

    Looking at the online demo, I can see that the buttons for indenting are now in, but I can't get it to work. When I press 'indent' or 'outdent', all the bullets in the list move in or out. Is this function working now?

    Thanks, James.
  8. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 18 Nov 2010 Link to this post

    Hello James,

    Unfortunately, we were not able to include nested list support in Q3 and it is now rescheduled for Q1 2011.
    We are sorry for the inconvenience that this might be causing to you.

    Sincerely yours,
    Iva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  9. Matt Ray
    Matt Ray avatar
    4 posts
    Member since:
    Mar 2010

    Posted 17 Feb 2011 Link to this post

    I dont see this in the release notes for the interim Q3 2010 SP 1 release (version 2010.3.1314) either.

    is this going to be included in the Q1 2011 release?  if so, is there a beta version ready for review?

    Please advise.
  10. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 18 Feb 2011 Link to this post

    Hello Matt Ray,

    Nested lists are still scheduled for Q1 2011. However, they will not appear in the beta, which is expected any day now, as we are still testing them on our side. 
    If you have other questions, feel free to get back to us.

    Best wishes,
    Iva
    the Telerik team
  11. Matt Ray
    Matt Ray avatar
    4 posts
    Member since:
    Mar 2010

    Posted 21 Feb 2011 Link to this post

    Iva,

    what is the release date for Q1 2011?   looking for an ETA.

  12. Mike
    Admin
    Mike avatar
    640 posts

    Posted 22 Feb 2011 Link to this post

    Hi Matt Ray,

    Q1.2011 is scheduled for mid March.

    Kind regards,
    Mike
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner