Ordered and Unordered list functionality issues

15 posts, 0 answers
  1. Ola Karlsson
    Ola Karlsson avatar
    9 posts
    Member since:
    Oct 2009

    Posted 03 Jan 2011 Link to this post

    Hi there,

    We're having a some problems with some of the "Telerik Editor" functionality, we're using the RichTextBox with the RadRichTextBoxRibbonUI.
    Our solution is now in testing and our client has raised a couple of issues, I don't seem to be able to find a solution for.

    The problems are the following:
    • If I click the Bullet/Ordered list icon, to go into "list mode", I then start typing, however there's no bullet or number appearing, even though the ribbon icon is still showing that it's been clicked. Even if I hit enter to do a line break, nothing appears.
      It seems the only way to get a list going is to select some text and then click the list icons. 
    • Page justification of list, creating a list ordered or unordered, then selecting it and clicking the center text justification, only moves the text, not the bullets/numbers. If you do the same in for example MS Word or the equivalent Telerik ASP.NET control (RadEditor), it centers the list graphics as well. 
    • List indentation, creating a list in a Telerik ASP.NET RadEditor or in some other program, for example MS Word, automatically indents the list by a certain amount, this isn't happening on the Silverlight version.
    I tested these on the public Telerik Demo (http://demos.telerik.com/silverlight/#RichTextBox/MSWord) and it's the same there. Is there any solution to these problems?

    [Edit]
    I've now come across another issue, on one of my controls I use the following HtmlDataProvider_SetupDocument event to clear and reset some font properties.
    private void HtmlDataProvider_SetupDocument(object sender, Telerik.Windows.Documents.FormatProviders.SetupDocumentEventArgs e) {
     
               foreach (Telerik.Windows.Documents.Model.Span span in e.Document.EnumerateChildrenOfType<Telerik.Windows.Documents.Model.Span>()) {
                   span.ClearValue(Telerik.Windows.Documents.Model.Span.FontSizeProperty);
                   span.ClearValue(Telerik.Windows.Documents.Model.Span.FontFamilyProperty);
                   span.ClearValue(Telerik.Windows.Documents.Model.Span.FontStyleProperty);
     
                   span.FontStyle = FontStyles.Normal;
                   span.FontFamily = new FontFamily("Arial");
                   span.FontSize = 11;
                   span.ForeColor = Colors.Gray;
     
               }
     
           }

    This works ok for most of the text, however it does not effect the numbers in numbered lists, resulting in all gray Arial 11 text, but black Times New Roman 12 on the numbers in the list.

    Anyone have thoughts on how I can fix this?

    Thanks,
    Ola Karlsson
  2. Hud
    Hud avatar
    1 posts
    Member since:
    Oct 2010

    Posted 04 Jan 2011 Link to this post

    Hi,

    Also a big fan of the RadRichTextBox, but also having some issues with Bullets and Numbered Lists.

    When the user highlights a few lines, then click on the RadRichTextBoxRibbonUI button to make it a Bullet (or a Numbered List), the RadRichTextBox does the right thing - it displays the highlighted lines with the appropriate bullets or numbers. However, when I look at the serialized XAML (using your XAML FormatProvider), the Bullets or Numbered List instruction is not present in the XAML. Obviously this means that when the application stores the XAML, and later retrieves it and displays it, the user now complains that their formatting (bullets / numbered lists) is gone.

    [Edit] - Further testing showed that if the user formats a few lines as Bullets / Numbered Lists, and then makes _further_ changes to other parts of the document, then everything works as it should... The problem only occurs if the few lines are formatted as Bullets / Numbered Items, and then exported to xaml immediately afterwards.

    I've tested the rest of the formatting (fonts, sizes, alignments, colours, tables, images, etc), and everything serializes correctly - the only problem is the Bullets and Numbered Lists...

    I'm currently using:
    Assembly Telerik.Windows.Controls.RichTextBoxUI, Version 2010.3.1129.1040
    Assembly Telerik.Windows.Documents, Version 2010.3.1129.1040
    Assembly Telerik.Windows.Documents.FormatProviders.Xaml, Version 2010.3.1129.1040

    Thanks,

    -Louis de Klerk

     

     

  3. DevCraft banner
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 07 Jan 2011 Link to this post

    Hi Ola Karlsson, Louis de Klerk,

    Thank you both for the detailed explanation of the issues you have encountered.
    @Ola:
    As for the first two items, we have fixed these issues. Unfortunately, it is quite unlikely that the fixes make it into the Service Pack. However, they should be visible in the first LIB after that.
    Regarding the third and fourth issues, these features are currently not supported, but are logged for revision with regard to Q1. 

    @Louis de Klerk:
    As we have answered you in the support ticket you opened, this bug is also being addressed and a fix is expected in the first LIB after Q3 SP1.

    If you have any other questions, do not hesitate to contact us again.

    All the best,
    Iva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. Darren
    Darren avatar
    8 posts
    Member since:
    Feb 2011

    Posted 07 Feb 2011 Link to this post

    Hello;

    We are experiencing an issue that i'm hoping will be addressed in an update regarding lists.

    No support for multi level lists, ie:

    1. bullet 1
         a. point a in bullet 1
         b. poing b in bullet 1
    2. bullet 2

    I would like to keep using the Telerik Silverlight editor, but this is a blocker for us.

    Thanks for any suggestions.

    Darren
  6. Boby
    Admin
    Boby avatar
    595 posts

    Posted 08 Feb 2011 Link to this post

    Hi Darren,
    We are actively working on "multilevel lists" feature, and hopefully it will be included in our next version - Q1 2011, scheduled for mid-March 2011.

    Don't hesitate to contact us if you have other questions.


    Greetings,
    Boby
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  7. jbaird
    jbaird avatar
    19 posts
    Member since:
    Jul 2012

    Posted 11 Aug 2011 Link to this post

    When you say Q3 sp1, do you mean 3 quarter 2011?  We need this functionality of ordered lists/ unordered lists appearing in the xaml stream also.  Is there a workaround?

  8. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 12 Aug 2011 Link to this post

    Hi Jbaird,

    By Q3 SP1 we meant 2010 Q3 SP1. 
    With the latest version of the control - Q2 2011, everything revolving multilevel lists works as expected. You can test that in our online demo.
    We also have a blog post about multilevel lists, which you can check at http://blogs.telerik.com/blogs/posts/11-04-14/revealing_hidden_features_of_multilevel_lists_in_radrichtextbox_for_silverlight_wpf.aspx.

    All the best,
    Iva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  9. jbaird
    jbaird avatar
    19 posts
    Member since:
    Jul 2012

    Posted 12 Aug 2011 Link to this post

    I am using the Q1 - 2011 RadRichTextBox and Ribbon UI control bound together.  When I highlight a list of text and press the ordered list button, the list is shown in the editor; however, the document changed event does not fire and the xaml stream (for saving) does not include any tags indicating that the list should be ordered.  The changes are not there and are not saved to the database.

    What do I need to do to get this working as you suggest it does?

  10. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 12 Aug 2011 Link to this post

    Hello Jbaird,

    We were not able to reproduce the issue on our end using Q1 2011 (2011.1.315). Q1 2011 SP1 (2011.1.419) and the latest version (Q2 2011 - 2011.2.712) also worked as expected.
    Please find attached a demo of two rich text boxes bound by XAML data providers. You can see how adding lists in the rich text box on the left using RadRichTextBoxRibbonUI or the SelectionMiniToolBar causes the document of the rich text box on the right to be updated accordingly. If you subscribe to the DocumentContentChanged event, you will see that it is also fired accordingly.
    The DocumentChanged event, however, is only fired when the Document property of RadRichTextBox changes, e.g. by selecting "New Document" from the application menu.
    If you are not able to solve the issue, we would appreciate a demo of yours, so that we can investigate what is wrong.

    All the best,
    Iva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  11. Mark
    Mark avatar
    2 posts
    Member since:
    Nov 2011

    Posted 18 Sep 2012 Link to this post

    Were these fixes implemented in the WPF version of the RadRIchTextBox?. I'm experiencing  the same issues with 2012Q2 (607) build.
  12. Boby
    Admin
    Boby avatar
    595 posts

    Posted 21 Sep 2012 Link to this post

    Hello Mark,
    Could describe what are the issues you are experiencing, as there are different ones described in this thread?

    Greetings,
    Boby
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  13. Christian
    Christian avatar
    7 posts
    Member since:
    May 2013

    Posted 04 Sep 2014 in reply to Boby Link to this post

    Has the multi-level ordered list support from 2011 been implemented?
  14. Petya
    Admin
    Petya avatar
    975 posts

    Posted 05 Sep 2014 Link to this post

    Hello Christian,

    Multilevel lists were introduced in Q1 2011 and are available in all versions of the suite following it. There is a set of predefined multilevel lists and you also have the ability to create your custom list. You can try the feature in our online demos and the List Styles article in the documentation contains more information on the topic.

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  15. Christian
    Christian avatar
    7 posts
    Member since:
    May 2013

    Posted 05 Sep 2014 in reply to Petya Link to this post

    Petya,
    Thanks for the reply.  The demo you gave me though was Silverlight.
    Christian
  16. Petya
    Admin
    Petya avatar
    975 posts

    Posted 08 Sep 2014 Link to this post

    Hi Christian,

    This forum section is regarding RadRichTextBox for Silverlight. If you are using the WPF version ofthe control, all information is also relevant since the code-base for both controls is the same. In case you are using another Telerik component I'd suggest posting your question in the respective forum section.

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top
DevCraft banner