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

Nested List support

10 Answers 98 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 09 Aug 2010, 09:07 PM
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.       

10 Answers, 1 is accepted

Sort by
0
Ivailo Karamanolev
Telerik team
answered on 10 Aug 2010, 05:15 PM
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
0
James
Top achievements
Rank 1
answered on 29 Sep 2010, 08:33 AM
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.
0
Iva Toteva
Telerik team
answered on 30 Sep 2010, 08:10 AM
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
0
James
Top achievements
Rank 1
answered on 30 Sep 2010, 08:19 AM
Hi Iva,

Thanks - that's very useful to know.

James.
0
James
Top achievements
Rank 1
answered on 18 Nov 2010, 12:49 AM
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.
0
Iva Toteva
Telerik team
answered on 18 Nov 2010, 05:08 PM
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
0
Matt Ray
Top achievements
Rank 2
answered on 18 Feb 2011, 02:00 AM
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.
0
Iva Toteva
Telerik team
answered on 18 Feb 2011, 06:21 PM
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
0
Matt Ray
Top achievements
Rank 2
answered on 21 Feb 2011, 09:44 PM
Iva,

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

0
Mike
Telerik team
answered on 22 Feb 2011, 06:34 PM
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!
Tags
RichTextBox
Asked by
Ben
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
James
Top achievements
Rank 1
Iva Toteva
Telerik team
Matt Ray
Top achievements
Rank 2
Mike
Telerik team
Share this question
or