Completed
Last Updated: 23 Apr 2020 16:12 by ADMIN
Release R2 2020 (LIB 2020.1.423)
BERND
Created on: 14 Apr 2020 08:22
Category: RichTextEditor
Type: Bug Report
0
RadRichTextEditor: error when resizing the headers/footers

Hello Telerik team,
today I noticed an issue in the Hanling of the RadRichtextEditor,

If the header and footer are resized and then switched between the header and footer views, the following error appears.  (Also in the demo app)

 

System.ArgumentOutOfRangeException: Value of '319' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parametername: Value
   bei Telerik.WinControls.UI.RadSpinElement.set_Value(Decimal value)
   bei Telerik.WinControls.UI.RichTextEditorRibbonBar.CurrentEditingContext_PropertyChanged(Object sender, PropertyChangedEventArgs e)
   bei Telerik.WinForms.Documents.UI.EditingContext.OnPropertyChanged(String propertyName)
   bei Telerik.WinForms.Documents.UI.EditingContext.AddType(EditingContextTypes type)
   bei Telerik.WinForms.Documents.UI.EditingContext.SetActiveEditorEditingContext(EditingContext value, DocumentEditorType documentEditorType)
   bei Telerik.WinForms.RichTextEditor.RadRichTextBox.SetActiveDocumentEditorInternal(IDocumentEditor documentEditor, DocumentEditorType documentEditorType)
   bei Telerik.WinForms.RichTextEditor.RadRichTextBox.Telerik.WinForms.Documents.UI.IDocumentEditorPresenterContainer.SetActiveDocumentEditor(IDocumentEditor documentEditor, DocumentEditorType documentEditorType)
   bei Telerik.WinControls.RichTextEditor.UI.HeaderFooterPresenterBase.BodyRichTextBox_GotFocus(Object sender, EventArgs e)
   bei Telerik.WinControls.RichTextEditor.UI.UIElement.OnGotFocus(EventArgs e)
   bei Telerik.WinForms.RichTextEditor.RadRichTextBox.OnGotFocus(EventArgs e)
   bei Telerik.WinControls.RichTextEditor.UI.UIElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   bei Telerik.WinForms.RichTextEditor.RadRichTextBox.OnPropertyChanged(RadPropertyChangedEventArgs e)
   bei Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   bei Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   bei Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   bei Telerik.WinControls.RadElement.SetElementFocused(Boolean isFocused)
   bei Telerik.WinControls.RadElement.SetFocusPropertySafe(Boolean isFocused)
   bei Telerik.WinControls.RadElement.Focus(Boolean setParentControlFocus)
   bei Telerik.WinControls.RadElement.Focus()
   bei Telerik.WinControls.RichTextEditor.UI.HeaderFooterPresenterBase.<Update>b__0()
   bei Telerik.WinControls.RichTextEditor.UI.Dispatcher.BeginInvoke(Action executeNext)
   bei Telerik.WinControls.RichTextEditor.UI.HeaderFooterPresenterBase.Update(SectionLayoutBox sectionBox, Boolean isInEditHeaderFooterMode, Boolean shouldFocus, Boolean delayed)
   bei Telerik.WinControls.RichTextEditor.UI.HeaderFooterContainer.UpdateUI(SectionLayoutBox sectionBox, Boolean delayed)
   bei Telerik.WinControls.RichTextEditor.UI.DocumentPagePresenter.UpdateHeaderFooterUI(SectionLayoutBox sectionBox)
   bei Telerik.WinControls.RichTextEditor.UI.DocumentPagePresenter.UpdateUILayersViewPortSize(RectangleF viewPort)
   bei Telerik.WinControls.RichTextEditor.UI.DocumentPagePresenter.MeasureOverride(SizeF availableSize)
   bei Telerik.WinControls.RadElement.MeasureCore(SizeF availableSize)
   bei Telerik.WinControls.RadElement.Measure(SizeF availableSize)
   bei Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayout()
   bei Telerik.WinControls.Layouts.ContextLayoutManager.UpdateLayoutCallback(ILayoutManager manager)

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4121.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
TelerikExamples
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/Program%20Files%20(x86)/Progress/Telerik%20UI%20for%20WinForms%20R1%202020/Examples/QuickStart/Bin/TelerikExamples.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4121.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4001.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
QuickStart
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/QuickStart/v4.0_2020.1.218.40__5bb2a467cbec794e/QuickStart.dll.
----------------------------------------
Telerik.WinControls.UI
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.UI/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.UI.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4121.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
Telerik.WinControls
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.dll.
----------------------------------------
TelerikCommon
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/TelerikCommon/v4.0_2020.1.218.40__5bb2a467cbec794e/TelerikCommon.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Telerik.WinControls.Themes.TelerikMetro
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetro/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetro.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
Microsoft.GeneratedCode
    Assembly-Version: 1.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
Telerik.WinControls.Themes.Fluent
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Fluent/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Fluent.dll.
----------------------------------------
Telerik.WinControls.Themes.FluentDark
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.FluentDark/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.FluentDark.dll.
----------------------------------------
RadControlSpy
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/RadControlSpy/v4.0_2020.1.218.40__5bb2a467cbec794e/RadControlSpy.dll.
----------------------------------------
Telerik.WinControls.Themes.Aqua
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Aqua/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Aqua.dll.
----------------------------------------
Telerik.WinControls.Themes.Breeze
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Breeze/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Breeze.dll.
----------------------------------------
Telerik.WinControls.Themes.Desert
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Desert/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Desert.dll.
----------------------------------------
Telerik.WinControls.Themes.HighContrastBlack
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.HighContrastBlack/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.HighContrastBlack.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2007Black
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2007Black/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2007Black.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2007Silver
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2007Silver/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2007Silver.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2010Black
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Black/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Black.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2010Silver
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Silver/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Silver.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2010Blue
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2010Blue/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2010Blue.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2013Dark
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2013Dark/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2013Dark.dll.
----------------------------------------
Telerik.WinControls.Themes.Office2013Light
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Office2013Light/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Office2013Light.dll.
----------------------------------------
Telerik.WinControls.Themes.TelerikMetroBlue
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetroBlue/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetroBlue.dll.
----------------------------------------
Telerik.WinControls.Themes.TelerikMetroTouch
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.TelerikMetroTouch/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.TelerikMetroTouch.dll.
----------------------------------------
Telerik.WinControls.Themes.VisualStudio2012Dark
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Dark/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Dark.dll.
----------------------------------------
Telerik.WinControls.Themes.VisualStudio2012Light
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.VisualStudio2012Light/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.VisualStudio2012Light.dll.
----------------------------------------
Telerik.WinControls.Themes.Windows7
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Windows7/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Windows7.dll.
----------------------------------------
Telerik.WinControls.Themes.Windows8
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Windows8/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Windows8.dll.
----------------------------------------
Telerik.WinControls.Themes.Material
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Material/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Material.dll.
----------------------------------------
Telerik.WinControls.Themes.MaterialPink
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialPink/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialPink.dll.
----------------------------------------
Telerik.WinControls.Themes.MaterialTeal
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialTeal/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialTeal.dll.
----------------------------------------
Telerik.WinControls.Themes.MaterialBlueGrey
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.MaterialBlueGrey/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.MaterialBlueGrey.dll.
----------------------------------------
Telerik.WinControls.Themes.Crystal
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.Crystal/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.Crystal.dll.
----------------------------------------
Telerik.WinControls.Themes.CrystalDark
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.Themes.CrystalDark/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.Themes.CrystalDark.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4121.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
RichTextEditor
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/Progress/Telerik%20UI%20for%20WinForms%20R1%202020/Examples/RichTextEditor/bin/RichTextEditor.exe.
----------------------------------------
Telerik.WinControls.RichTextEditor
    Assembly-Version: 2020.1.218.40.
    Win32-Version: 2020.1.218.40.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Telerik.WinControls.RichTextEditor/v4.0_2020.1.218.40__5bb2a467cbec794e/Telerik.WinControls.RichTextEditor.dll.
----------------------------------------
System.ComponentModel.Composition
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 14 Apr 2020 11:29
Hello, Bernd,

Following the provided information, I was able to replicate the exception. The attached gif file illustrates it better. 

I have logged it in our feedback portal by making this thread public on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Currently, due to the specificity of the issue, I am unable to suggest a suitable solution. We will do our best to introduce a fix as soon as possible. Please excuse us for the inconvenience caused.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.