Completed
Last Updated: 25 Feb 2021 07:51 by ADMIN
ADMIN
Created by: Nikolay
Comments: 2
Category: Editors
Type: Bug Report
4
Currently, you cannot enter the date in RadDateTimePicker by typing it in the textbox area.
Completed
Last Updated: 23 Feb 2021 10:38 by ADMIN
Release R1 2021 SP2

Right-click on header/footer usually does nothing. If we double-click them we enter their edit mode. After we close header and footer and right-click on them we get context menu as if we are still in edit mode. If we scroll out of view of header/footer, and then back in, right-click will again do nothing.

Also, separate but similar bug, in demo document's footer there is a three-column table. It is possible to resize with the mouse all the columns widths, and even the row height. Mouse will change shape, as if in edit mode. It is not necessary to enter and leave edit mode like in previous case, the error is observable from the start. But if we scope out and scope back in the changes are undone, in a way like in previous case.

Completed
Last Updated: 23 Feb 2021 10:37 by ADMIN
Release R1 2021 SP2
1.The editor overlapping other cells after editing.

2. The arrow, that is actually meant to open the DropDown, cannot be clicked. Only the cell under it is clicked instead.
Completed
Last Updated: 23 Feb 2021 10:37 by ADMIN
Release R1 2021 SP2

After we just upgraded to 2021 SP, we are now getting several System.ArgumentExceptions when executing the following call to LoadPackageResource

Assembly assembly = Assembly.LoadFrom("STEAM.Common.dll");
 ThemeResolutionService.LoadPackageResource(assembly, "STEAM.Common.SpotlightOffice2013Light.tssp");

The errors are:

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.Docking.DockingGuidesElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.Docking.DockingGuidesElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.GridTableElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.GridTableElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.GridSearchCellElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.GridSearchCellElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.RadPivotGridElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.RadPivotGridElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.SchedulerMonthViewElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.SchedulerMonthViewElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.RadSpreadsheetElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.RadSpreadsheetElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.RadSpreadsheetElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.RadSpreadsheetElement

Exception thrown: 'System.ArgumentException' in Telerik.WinControls.dll
Type not found: Telerik.WinControls.UI.VirtualGridTableElement. Please make sure you have reference to an assembly which contains type: Telerik.WinControls.UI.VirtualGridTableElement

 

Completed
Last Updated: 23 Feb 2021 10:36 by ADMIN
Release R1 2021 SP2
Workaround:
 Private Sub RadPropertyGrid1_EditorRequired(sender As Object, e As PropertyGridEditorRequiredEventArgs) Handles RadPropertyGrid1.EditorRequired
     Dim te As PropertyGridTableElement = TryCast(sender, PropertyGridTableElement)
     If e.EditorType = GetType(PropertyGridSpinEditor) Then
         Dim editor As New CustomPropertyGridSpinEditor
         If editor IsNot Nothing AndAlso te IsNot Nothing Then
             Dim type As Type = RadPropertyGrid1.SelectedObject.[GetType]().GetProperty(e.Item.Name).PropertyType
             If type = GetType(System.Double) Then
                 DirectCast(editor.EditorElement, BaseSpinEditorElement).DecimalPlaces = 4
                 e.Editor = editor
             End If
         End If
     End If
 End Sub

 Public Class CustomPropertyGridSpinEditor
     Inherits PropertyGridSpinEditor
     Public Overrides Sub Initialize(owner As Object, value As Object)
         Dim decimalPlaces As Integer = Me.DecimalPlaces
         MyBase.Initialize(owner, value)

         Dim element As PropertyGridItemElement = TryCast(owner, PropertyGridItemElement)
         Dim item As PropertyGridItem = TryCast(element.Data, PropertyGridItem)
         Dim editedType As Type = item.PropertyType

        If ((editedType = GetType(Decimal) OrElse editedType = GetType(Double) OrElse editedType = GetType(Single)) AndAlso decimalPlaces <> 0) Then
         DirectCast(Me.EditorElement, BaseSpinEditorElement).DecimalPlaces = decimalPlaces
         Me.Value = value
       End If
     End Sub
 End Class
Completed
Last Updated: 23 Feb 2021 10:36 by ADMIN
Release R1 2021 SP2
At the moment the table handles the mouse even if the header/footer is not edited.
Completed
Last Updated: 23 Feb 2021 10:35 by ADMIN
Release R1 2021 SP2
Created by: Oksana
Comments: 5
Category: RichTextEditor
Type: Bug Report
1

Hi Team,

 We find out another issue in the RichTextEditor about the Header and Footer Section of the page, we have a scenario in which we have a bigger table in the Footer section in terms of height, and the table going just "Out Of the Box". I tried the same table in the header section I found a similar behavior there also but the major issue is the Footer section where it's going out of the page.

I used the demo Winform application to reproduce this, I am also attaching the source file so you have to open it in the editor on your side to reproduce this issue.

 

Regards

Completed
Last Updated: 23 Feb 2021 10:29 by ADMIN
Release R1 2021 SP2
Created by: Massimo
Comments: 0
Category: UI Framework
Type: Feature Request
0

When a RadSvgImage document is modified the cache of raster images needs to be cleared, so the modifications can be visualized.
For example we want to change the following SVG

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
	<defs>
		<style>.cls-1{fill:none;stroke:#228bcb;stroke-miterlimit:5;stroke-width:1.2px;} </style>
	</defs>
	<g id="undoModern16">
		<g id="icon">
			<path class="cls-1" d="M5.61,10.36.82,5.51,5.61.63M9.5,14.5h1.28A4.51,4.51,0,0,0,15.38,10h0a4.52,4.52,0,0,0-4.6-4.5H.82" />
		</g>
	</g>
</svg>

 

Here is how it looks :  

To change the color of this SVG we need to change the stroke color of the path that represents the arrow. First, we need to find the element of type SvgPath and then set its stroke to the desired color. 

RadSvgImage svg = this.buttonUndo.SvgImage;
Svg.SvgPath path = svg.Document.Children.FindSvgElementOf<Svg.SvgPath>();
// set arrow color to gray(51,51,51)
path.Stroke = new Svg.SvgColourServer(System.Drawing.Color.FromArgb(51, 51, 51));
// no API to reset the cache

 

As a workaround we need to reassign the image of button:

// clear the cache of RadSvgImage
this.buttonUndo.SvgImage = null;
this.buttonUndo.SvgImage = svg;

Another possible workaround when working with LightVisualElement and its derivatives is to clear the cache with reflection:

var fi = svg.GetType().GetField("cachedSizesToImages", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
     fi.SetValue(svg, new Dictionary<Size, Bitmap>());

Completed
Last Updated: 23 Feb 2021 08:57 by ADMIN
Release R1 2021 SP2

To reproduce: 
1. Add RadCalendar/or RadDateTimePicker/ and the MaxValue of calendar control to DateTime.MaxValue.
2. Click on the header and an exception is thrown: System.ArgumentOutOfRangeException: 'The added or subtracted value results in an un-representable DateTime.
Parameter name: months'

public RadForm1()
{
    InitializeComponent();

    RadDateTimePickerElement.MaximumDateTime = DateTime.MaxValue;
    this.radDateTimePicker1.MaxDate = DateTime.MaxValue;
    this.radDateTimePicker1.Value = this.radDateTimePicker1.MaxDate;
    RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
    calendarBehavior.Calendar.RangeMaxDate = this.radDateTimePicker1.MaxDate;
}

 

Workaround:
To work around this issue we can stop showing this pop-up when one of the three last months of the MaxDate.Year is selected in the RadCalendar ViewChanged event:

private void Calendar_ViewChanged(object sender, EventArgs e)
{
    RadDateTimePickerCalendar calendarBehavior = this.radDateTimePicker1.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
    DateTime calendarDate = calendarBehavior.Calendar.CalendarElement.View.ViewStartDate;
    if (calendarDate.Year == this.radDateTimePicker1.MaxDate.Year &&
        calendarDate.Month >= 10)
    {
        calendarBehavior.Calendar.HeaderNavigationMode = HeaderNavigationMode.None;
    }
    else
    {
        calendarBehavior.Calendar.HeaderNavigationMode = HeaderNavigationMode.Popup;
    }
}

Completed
Last Updated: 19 Feb 2021 10:21 by ADMIN
Release R3 2020
ADMIN
Created by: Hristo
Comments: 0
Category: PdfViewer
Type: Feature Request
2
This is Unicode (UTF-16BE) encoding for the Adobe-GB1 character collection; contains mappings for all characters in the GB18030-2000 character set.

Described on page 443 in Pdf Reference 1.7.
Completed
Last Updated: 19 Feb 2021 09:45 by ADMIN
Release R1 2021 SP2

I have implemented the ListDataValidationRule code to add a dropdownlist to the spreadsheet. Based on the code I can find and the searching I have conducted, it seems to be correct, however the dropdown does not appear in the control.

The dropdown list does appear in Excel when I export the file.

 

Dim Context As ListDataValidationRuleContext = New ListDataValidationRuleContext(CurrentWorksheet, CurrentCellIndex)

Context.InputMessageTitle = "Restricted input"
Context.InputMessageContent = "The input is restricted to the week days."
Context.ErrorStyle = ErrorStyle.Stop
Context.ErrorAlertTitle = "Invalid Bedroom Type"
Context.ErrorAlertContent = "The entered value is not valid."
Context.InCellDropdown = True

Context.Argument1 = String.Join(",", _Data.ArchitectCert_UnitBedrooms.AsEnumerable().Select(Function(x) x.Field(Of Integer)("UnitBedroomNumber").ToString()).ToArray())


Dim Rule As ListDataValidationRule = New ListDataValidationRule(Context)

CurrentWorksheet.Cells(CurrentCellIndex).SetDataValidationRule(Rule)
Completed
Last Updated: 19 Feb 2021 09:38 by ADMIN
Release R1 2021 SP2
Completed
Last Updated: 18 Feb 2021 14:38 by ADMIN
Release R1 2021 SP2

Please follow the steps:

1. Create a brand new project and add a RadCheckedDropDownList on the form.

2. Add two items:

3. Open the Element hierarchy editor and set the Alignment property to the below element: 

This is the serialized code in the Designer.cs:

            this.radCheckedDropDownList1.Items.Add(radCheckedListDataItem1);
            this.radCheckedDropDownList1.Items.Add(radCheckedListDataItem2);
            this.radCheckedDropDownList1.Location = new System.Drawing.Point(13, 13);
            this.radCheckedDropDownList1.Name = "radCheckedDropDownList1";
            this.radCheckedDropDownList1.Size = new System.Drawing.Size(218, 20);
            this.radCheckedDropDownList1.TabIndex = 0;
            ((Telerik.WinControls.UI.TextBlockElement)(this.radCheckedDropDownList1.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).Alignment = System.Drawing.ContentAlignment.MiddleCenter;
            ((Telerik.WinControls.UI.TextBlockElement)(this.radCheckedDropDownList1.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).MinSize = new System.Drawing.Size(0, 16);
            ((Telerik.WinControls.UI.TextBlockElement)(this.radCheckedDropDownList1.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(0).GetChildAt(0).GetChildAt(0))).MaxSize = new System.Drawing.Size(0, 16);
           

4. Save the changes and run the project. As a result you will get an exception since the TextBlockElement is not created yet. It either shouldn't be serialized or not be available in the UI editor.

 

Completed
Last Updated: 18 Feb 2021 12:21 by ADMIN
Release R1 2021 SP2

I have a RadVirtualGrid with hierarchical data. When I change the page, then expand a row, and then hit the tab key I get an ArgumentOutOfRangeException:

Value of '-3838' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value

 

Completed
Last Updated: 17 Feb 2021 13:14 by ADMIN
Release R1 2021 SP2

Please refer to the attached project. Pressing A key selects the first tab, B key selected the second tab, etc. The SelectedTab is changed successfully. The content area is refreshed. However, the tab is not visible. The attached gif file illustrates the behavior.

Workaround:

        private void RadTabbedForm1_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyData == Keys.A)
            {
                this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab1;
            }

            if (e.KeyData == Keys.B)
            {
                this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab2;
            }

            if (e.KeyData == Keys.C)
            {
                this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab3;
            }


            if (e.KeyData == Keys.D)
            {
                this.radTabbedFormControl1.SelectedTab = radTabbedFormControlTab4;
            }

            //Workaround
            Size s = this.Size;
            this.Opacity = 0;
            this.WindowState = FormWindowState.Maximized;
            this.WindowState = FormWindowState.Normal;

            this.Size = s;
            this.Opacity = 1;
        }

Completed
Last Updated: 17 Feb 2021 12:25 by ADMIN
Release R1 2021 SP2
The images are not rendered when using .Net Core
Completed
Last Updated: 17 Feb 2021 09:47 by ADMIN
Release R1 2021 SP2
Created by: TafnitDev
Comments: 1
Category: PdfViewer
Type: Bug Report
0

Hello,

When opening this document (see attached), PDF viewer crashes with following exception.

To reproduce, open this document in the Pdf Viewer WinForms example, latest version.

Screenshot attached.


************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfHexString' to type 'Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Model.Types.PdfLiteralString'.
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.ExceptionHandling.ExceptionHandler.TryHandle(Exception exception)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.PageContentManager.LoadPageContent(RadFixedPage fixedPage)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.ThreadSafePageContentManager.LoadPageContent(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.LoadPage(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Import.LoadOnDemandPagesCacheManager.BeginUsingPage(RadFixedPage page)
   at Telerik.Windows.Documents.Fixed.Text.TextPageProvider.CreateTextPage(RadFixedPage fixedPage, TextDocument parent)
   at Telerik.Windows.Documents.Fixed.Text.TextDocument.CreateTextPage(Int32 index)
   at Telerik.Windows.Documents.Fixed.Text.TextDocument.GetTextPage(Int32 index)
   at Telerik.WinControls.PdfViewer.MouseHandlers.SelectionHandler.Initialize(RadFixedDocument document)
   at Telerik.WinControls.PdfViewer.MouseHandlers.MouseHandlersController.InitializeHandlers(RadFixedDocument document)
   at Telerik.WinControls.UI.RadPdfViewerElement.documentLoader_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

Completed
Last Updated: 15 Feb 2021 13:52 by ADMIN
Release R1 2021 SP2

Dear Support,

 

i'm using the RadTextBoxControl for Login-Window.

As excepted the Password ist set as UseSystemPasswordChar = true.

The problem is that space is not converted to the PasswordChar (yes some customer has space in the password).

 

Is that a BUG or is there a workaround?

 

Greetings,

Stoyan

1 2 3 4 5 6