Completed
Last Updated: 07 May 2019 08:27 by ADMIN
Release R2 2019
ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextEditor
Type: Bug Report
0
To reproduce:
- Click the AA Styles button to open the Styles dialog.
- Scroll down and select the CodeBlock item
- The style does not change


 
Completed
Last Updated: 03 May 2019 09:58 by ADMIN
Importing html documents having the property vertical-align property used with length values - for example: vertical-align = 3px, throws InvalidCastException. 
Completed
Last Updated: 13 Mar 2019 17:04 by ADMIN
Release 2018.3.911
ADMIN
Created by: Hristo
Comments: 0
Category: RichTextEditor
Type: Feature Request
1
This field retrieves a character through a code value specified in the field-argument. Such documents are common and are created when symbols (e.g. with font Windings through Insert -> Symbol dialog) are inserted in RTF documents in MS Word.
Completed
Last Updated: 13 Mar 2019 16:37 by ADMIN
Release 2019.1.117
To reproduce: 
var d = new RadDocument();
var s = d.GetStatisticsInfo();

Workaround:
var d = new RadDocument();

if (d.Sections.Count > 0 && d.Sections.Last.Blocks.Count >0)
{
    var s = d.GetStatisticsInfo();
}  
Completed
Last Updated: 13 Mar 2019 14:58 by ADMIN
Release 2019.1.219
When the document is protected, CommandExecuting is not raised when the user double clicks the header or footer area.
Completed
Last Updated: 14 Feb 2019 16:13 by ADMIN
Created by: Mihajlo
Comments: 2
Category: RichTextEditor
Type: Bug Report
1

I added this line just before Application.Run(new MainForm()); in Word-inspired project:

RichTextBoxLocalizationProvider.CurrentProvider = RichTextBoxLocalizationProvider.FromFile(@"AllCapsRichTextBoxStrings.xml");

 

I took RichTextBoxStrings.xml from localization page of RichTextEditor. In the xml file I converted all the text between <value> tags to uppercase, and also replaced "OK" (value of "Confirm" data element) with "AYE". I expected all the OK's in all the forms within rich text editor to be replaced, but they all remained as "Ok" (note the lower case "k" here). Well, all except Page Layout > Columns form, which did display AYE, and also References > Insert citation. So, here are the issues that I found:

  • XML file in localizaiton page of RichTextEditor is missing entries for resources "Ok", "Insert", and "Apply".
  • "Ok" resource is used in most places, but "Confirm" resource (with value "OK") is used in AddNewBibliographicSourceDialog.cs and SectionColumns\SectionColumnsDialog.cs. This seems inconsistent.
  • Paper sizes are not localizable, which is actually fine by me for all but the last paper size, "Size14x10", but then what is the purpose of all RibbonUI_PaperSizeXxx resources in resource file?
  • Value of resource "Documents_InsertHyperlinkDialog_SelectionInDocument" is weird. Not sure this resource should even exist, as I could not make it appear in the InsertHyperlinkDialog. Looks like a dummy placeholder.
  • Fallback mechanism for missing resources is weird. If resource is missing the resource name is returned as resource value, which is the reason why Ok, Insert, and Apply are actually shown. Maybe this is intentional, if resource is missing it will be obvious (for unusual resource names). Alternative would be not to change the string at all, as it is already set to default english in .Designer.cs file anyway. So instead of "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource");" it would be something like "this.someTextBox.Text = LocalizationManager.GetString("Some_Resource", this.someTextBox.Text);".

To create AllCapsRichTextBoxStrings.xml, make a copy of provided resource file, open it in Notepad++ and replace all <value>([^<]*)</value> with <value>\U\1\E</value> using regular expressions, and then replace all &AMP;, &LT; and &GT; with &amp;, &lt; and &gt;.

Completed
Last Updated: 14 Feb 2019 12:37 by ADMIN
If we open paragraph properties dialog and then Tabstops properties dialog, and then close the second one the first one will also close automatically.
Unplanned
Last Updated: 17 Jan 2019 09:50 by ADMIN
RadRichTextEditor: MoveToDocumentElementStart works incorrectly when called consecutively with PermissionRangeStart as parameter
When the MoveToDocumentElementStart is called with parameter that is PermissionRangeStart and then is called a second time, the position moves to the previous position instead.


Unplanned
Last Updated: 31 Dec 2018 11:00 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 4
Category: RichTextEditor
Type: Feature Request
5

			
Completed
Last Updated: 03 Dec 2018 17:22 by Dimitar
Unplanned
Last Updated: 02 Oct 2018 07:33 by ADMIN
Currently invalid attribute values, including invalid or empty values in CSS attributes in the 'style' attribute, could cause importing property with incorrect value, or NullReferenceException (the document cannot be imported).
Examples:
----------------------------------------------------------
<table width=”*”>
	<tr>
		<td>More Random Text</td>
	</tr>
</table>

The table is imported with 0 width. Instead the width should not be set.
----------------------------------------------------------
<table style="font-size:;">
	<tr>
		<td>More Random Text</td>
	</tr>
</table>

NullReferenceException is thrown.
----------------------------------------------------------
<p style='padding: 3px 3px 3xp 7px;'>test</p>

IndexOutOfRangeException is thrown.

----------------------------------------------------------

 

Workaround: replace the invalid values before import: string importString = html.Replace("font-style: ;", "");
Unplanned
Last Updated: 25 Sep 2018 07:10 by ADMIN
ADMIN
Created by: Hristo
Comments: 0
Category: RichTextEditor
Type: Feature Request
1
The field result shows the number of pages the current section contains.
Unplanned
Last Updated: 24 Aug 2018 12:56 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: RichTextEditor
Type: Feature Request
1
See attached!
Unplanned
Last Updated: 24 Aug 2018 12:44 by ADMIN
Completed
Last Updated: 17 Aug 2018 08:45 by Dimitar
To reproduce:
1. Open the following article: https://aajtak.intoday.in/gallery/indonesian-tsunami-warning-earthquake-lombok-island-dead-body-1-24549.html
2. Copy its title
3. Paste in Notepad/Notepad++
4. Copy from notepad
5. Paste in RTE
Completed
Last Updated: 02 Jul 2018 09:35 by ADMIN
Unplanned
Last Updated: 25 Jun 2018 12:42 by ADMIN
ADMIN
Created by: Hristo
Comments: 2
Category: RichTextEditor
Type: Feature Request
1
<samp> HTML element could be imported as span with specific formatting. Currently it's just ommited.
Completed
Last Updated: 25 Jun 2018 10:17 by ADMIN
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinForms.Documents.UI.UIProviders.WatermarkUIProvider.Arrange(UILayerUpdateContext uILayerUpdateContext)
   at Telerik.WinForms.Documents.UI.Layers.ProviderUILayerBase.ArrangeChildren()
   at Telerik.WinForms.Documents.UI.DocumentPrintPresenter.ArrnageUILayers()
   at Telerik.WinForms.Documents.UI.DocumentPrintPresenter.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureChildren(SizeF availableSize)
   at Telerik.WinControls.RichTextEditor.UI.FrameworkElement.MeasureOverride(SizeF availableSize)
   at Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   at Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   at Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout()
   at Telerik.WinForms.Documents.UI.DocumentPrintPresenter.Telerik.WinForms.RichTextEditor.IDocumentEditorPresenter.UpdateLayout()
   at Telerik.WinForms.RichTextEditor.RadRichTextBox.<>c__DisplayClass3.<UpdateEditorLayout>b__2()
   at Telerik.WinForms.RichTextEditor.RadRichTextBox.UpdateEditorLayout(Boolean focusCarret, Boolean updateCaretSize, Boolean async)
   at Telerik.WinForms.RichTextEditor.RadRichTextBox.set_ActiveEditorPresenter(IDocumentEditorPresenter value)
   at Telerik.WinForms.RichTextEditor.RadRichTextBox.Telerik.WinControls.UI.IPrintable.BeginPrint(RadPrintDocument sender, PrintEventArgs args)
   at Telerik.WinControls.UI.RadPrintDocument.OnBeginPrint(PrintEventArgs e)
   at System.Drawing.Printing.PrintDocument._OnBeginPrint(PrintEventArgs e)
   at System.Drawing.Printing.PrintController.Print(PrintDocument document)
   at System.Drawing.Printing.PrintDocument.Print()
   at System.Windows.Forms.PrintPreviewControl.ComputePreview()
   at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


To reproduce: please refer to the attached gi file demonstrating how to replicate the problem with the Demo application.

Workaround:

        private void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
        {
            if (e.Command  is ChangeIntegratedWatermarkTypeCommand && this.radRichTextEditor1.LayoutMode!= Telerik.WinForms.Documents.Model.DocumentLayoutMode.Paged)
            {
                e.Cancel = true; 
            }
        }
Completed
Last Updated: 21 Jun 2018 14:41 by ADMIN