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.
[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
14 Answers, 1 is accepted
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
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.
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
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
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
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.
Iva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
What do I need to do to get this working as you suggest it does?
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.
Iva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
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.
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
Thanks for the reply. The demo you gave me though was Silverlight.
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