Unplanned
Last Updated: 12 Jun 2024 09:58 by ADMIN
Created by: Bernadette
Comments: 1
Category: UI for WinForms
Type: Bug Report
0
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.RadPrintPreviewControl.OnPaint(PaintEventArgs pevent)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
Unplanned
Last Updated: 05 Jun 2024 10:00 by ADMIN

The annotation line is supposed to be at 05 point but instead it is between 05 and 06.

Unplanned
Last Updated: 21 May 2024 10:33 by ADMIN
The location of controls is messed up when RadForm is shown runtime on HDPI (125%).
Unplanned
Last Updated: 16 May 2024 11:52 by ADMIN

 

 

When a RadValidationRule has the "PropertyName" assigned to a non-existent property, the RadVAlidationProvider.ValidateCore throws a NullReference exception because the property cannot be found via reflection and throws no error handling.

 

From OpenEdge ABL class, this is the code written into the forms InitializeComponent method.  The "IsValid"  property doesn't actually exist.

        radValidationRule3:AddControl(THIS-OBJECT:myTextBox).         radValidationRule3:Operator = Telerik.WinControls.Data.FilterOperator:IsNotEqualTo.         radValidationRule3:PropertyName = "IsValid".         radValidationRule3:ToolTipText = "Test".         radValidationRule3:Value = TRUE.

 

While we don't expect the functionality to actually work because the property isn't actually available to .NET, but the NullReferenceException is poorly handled.

 

I've attached a screenshot of the bit of code from RadValidationProvider.ValidateCore where this occurs.  This is from version 2020.3.1020.20

Here is the thrown stack exception details from visual studio.

System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Telerik.WinControls.UI
StackTrace:
at Telerik.WinControls.UI.RadValidationProvider.ValidateCore(Object sender, EventArgs e)

 

This

Unplanned
Last Updated: 24 Apr 2024 08:22 by ADMIN
Exceptions

Top Level Exception
Type:        System.OverflowException
Message:     Arithmetic operation resulted in an overflow.
Source:      TelerikCommon
Stack Trace: at Telerik.WinControls.NativeMethods.GetMonitorDpi(Screen screen, DpiType dpiType)
   at Telerik.WinControls.VisualElement.GetScaledFont(Single scale, Font fontToScale)
   at Telerik.WinControls.UI.LightVisualElement.CreateTextParams()
Unplanned
Last Updated: 01 Apr 2024 09:00 by ADMIN

In this case, we have an MS standard Form with control position on the form. Each of the controls has the right anchor. Moving the form to a monitor with a higher resolution messed up the size of the controls. 

Unplanned
Last Updated: 14 Mar 2024 14:06 by ADMIN
Unplanned
Last Updated: 08 Feb 2024 12:19 by Al

In the image below you can notice lines that disappear, identical lines but rendered more or less thick.

Unplanned
Last Updated: 02 Feb 2024 13:31 by ADMIN
Dynamically adding command bar buttons to a control inside a popup window may cause layout issue.
Unplanned
Last Updated: 30 Jan 2024 14:14 by ADMIN
To reproduce setup a column ColumnGroupViewDefinition, set RightToLeft mode of the grid and export it using the GridViewPdfExport class.
You will see that in the exported PDF document the columns and column groups are in Left-To-Right order.
Unplanned
Last Updated: 29 Jan 2024 15:46 by ADMIN

In the exported PDF document, the font size of the header and footer is smaller than the font of the data cells, even though the specified font is the same size.
To reproduce set the same font to the header and data cells:

pdfExport.HeaderFont.Font = new Font("Segoe UI", 10f);

private void PdfExport_CellFormatting(object sender, PdfExportCellFormattingEventArgs e)
{
    e.CellElement.Font = new Font("Segoe UI", 10f); 
}

Unplanned
Last Updated: 29 Sep 2023 09:36 by ADMIN

Using Telerik button and dropdown beside and anchored to a standard label or textbox then, when run app in a Win 11 in Korean, the presentation is not correct.

Expected result:

Observed result:

Unplanned
Last Updated: 04 May 2023 12:58 by ADMIN
The CurrentDirectoryPath property is not serialized and it is lost every time the designer is reopened.
Unplanned
Last Updated: 21 Mar 2023 09:12 by ADMIN
Created by: Martin
Comments: 1
Category: UI for WinForms
Type: Bug Report
0

Repro steps:

  1. Create a RadVirtualGrid with:
    1. A column with a nullable DateTime
    2. Another column with a string or number.
  2. Fill it with one or more rows. The DateTimes remain null.
  3. Edit a DateTime cell, open the dropdown:

  4. Click op button [Today], the date/time in the cell changes.
  5. Click [Tab], the focuses moves to the next cell, but the dropdown remains open:
  6. Click somewhere else in the grid or form, an Exception is thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.RadDateTimePickerCalendar.popupControl_Closing(Object sender, RadPopupClosingEventArgs args)

Expected behavior:

  • The dropdown closes after moving to another cell.
  • No exception occurs.

 

 

Unplanned
Last Updated: 01 Mar 2023 13:08 by ADMIN

To reproduce:

            this.radCheckBox1.Text = "Something (in brackets)";
            this.radCheckBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;

Unplanned
Last Updated: 06 Mar 2023 09:55 by ADMIN
Open the designer of the attached form. Have a look at the locations for the cbSegmentacion and btnActivaDesactivaCentrradoLinea controls. Close and reopen the designer. You will see that the location is changed.
Unplanned
Last Updated: 28 Nov 2022 07:50 by Shaindy
 The styles of a hyperlink (color, font properties) are not exported correctly to HTML
Unplanned
Last Updated: 29 Sep 2022 13:03 by ADMIN
Created by: erwin
Comments: 3
Category: UI for WinForms
Type: Bug Report
1

To replicate the missing button when the application is run on my main monitor with 150% DPI scaling:



If the RadControl.EnableRadAutoScale property is set to false in the Program.cs file, the button is placed as expected:



When I replace the form to inherit from RadForm, not the MS Form, the button is clipped:

Unplanned
Last Updated: 01 Aug 2022 08:45 by ADMIN

Repro-steps

  1. Create a RadGridView
  2. Fill it with 8000 rows
  3. Select all rows
  4. Delete all rows and measure the time
  5. Repopulate the same grid with the same 8000 rows
  6. Sort on a column
  7. Select all rows
  8. Delete all rows and measure the time

Expected behavior

  • Both measured times are the same

Observed behavior

  • Deleting rows when a column is sorted take muuuuuuuuch more time

The problem is, after each (!!!) deleted row (not after all deleted rows) the sort-routine kicks in. Sorting all remaining rows. That is 7999 times to many.

One can argue that sorting after deleting something is not required at alle, since the order of the remaining rows (in this case none, but in one cases maybe more) will never change.

I also noticed a HybridIndex is used, possibly to increase performance during adding. Somehow it might hinder performance during deleting stuff.

1 2 3 4