Hello, I encountered a bug with PropertyGrid when an object property is null.
But it only happens when the object has a simple property, a simple list, and a complex list with a custom control.
I'm attaching a sample project.
To reproduce this bug, run the project and hit the sort button or enter any search strings.
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
When importing a document containing Outlines (Bookmarks) containing Actions with an empty dictionary:
<</Title(Bookmarks)/Parent .../First .../Last .../Prev .../A<<>>/Count ...>
leads to an exception thrown: System.MissingMethodException: 'Cannot create an abstract class.'
When you are using interactive forms in RadPdfViewer,
https://docs.telerik.com/devtools/winforms/controls/pdfviewer/features/interactive-forms , the editor's font is too big on >100% DPI scaling:
100% looks OK:
Add an opportunity to use custom fonts in Html-like text formatting.
Example:
this.radTreeView1.Nodes.Add("<html><font="Roboto Medium">Node Strike</font></html>");
Clicking on a tab item in the design surface should select the tab. The animation demonstrates the current behavior:
It would be good to offer default localization providers for some languages like German, Spanish, French, etc.
It is possible to use the following site that Microsoft provides for this purpose: https://www.microsoft.com/en-us/language
Hi Dess,
No problem. Fully understood.
Please find the new questions attached below and kindly get back to the customer Mr Huang (conext.vincent@gmail.com).
Thanks,
Peter
------------------------
Hello, Peter,
I would kindly ask you to provide any information in the support ticket as It is the appropriate way for providing assistance by the WinForms support engineers.
Thank you for your understanding
From: Peter Qu <Youpeng.Qu@progress.com>
Sent: Thursday, April 23, 2020 6:53 AM
To: Desislava Yordanova <Desislava.Yordanova@progress.com>
Cc: 'Peggy Chen' <peggychen@accesssoft.com.tw>
Subject: FW: [Accesssoft] Telerik support
Hi Dess,
Hope you are well.
Regarding the Support Ticket 1462221 (conext.vincent@gmail.com) please find error code attached and issue description as below.
Many thanks,
Peter Qu
Inside Sales Representative, APJ
Address: 120 Spencer Street | Melbourne, VIC, 3000 | Australia
Phone: +61 413 012 003 | +86 1350 1330 973
WeChat: Progress Telerik
Website: www.telerik.com
Language: English | Mandarin Chinese
From: Peggy Chen <peggychen@accesssoft.com.tw>
Sent: Thursday, 23 April 2020 13:46
To: Peter Qu <Youpeng.Qu@progress.com>
Subject: RE: [Accesssoft] Telerik support
客戶現又補充:每次升級一個版次就會出現嚴重問題,要如何排解.
From: Peter Qu [mailto:Youpeng.Qu@progress.com]
Sent: Thursday, April 23, 2020 11:53 AM
To: Desislava Yordanova
Cc: 'Peggy Chen'
Subject: FW: [Accesssoft] Telerik support
Hi Dess,
Hope you are well.
Regarding the Support Ticket 1462221 (conext.vincent@gmail.com) please find error code attached and issue description as below.
Many thanks,
Peter Qu
Inside Sales Representative, APJ
Address: 120 Spencer Street | Melbourne, VIC, 3000 | Australia
Phone: +61 413 012 003 | +86 1350 1330 973
WeChat: Progress Telerik
Website: www.telerik.com
Language: English | Mandarin Chinese
From: Peggy Chen <peggychen@accesssoft.com.tw>
Sent: Thursday, 23 April 2020 13:46
To: Peter Qu <Youpeng.Qu@progress.com>
Subject: RE: [Accesssoft] Telerik support
From: Peter Qu [mailto:Youpeng.Qu@progress.com]
Sent: Thursday, April 23, 2020 11:43 AM
To: Peggy Chen
Subject: RE: [Accesssoft] Telerik support
Hi Peggy,
It sounds a bit too complicated for the pre sales engineer. Can you please kindly let me know the license holder email and I will issue a support ticket on his Telerik account so that the developing team can get involved.
Thanks,
Peter Qu
Inside Sales Representative, APJ
Address: 120 Spencer Street | Melbourne, VIC, 3000 | Australia
Phone: +61 413 012 003 | +86 1350 1330 973
WeChat: Progress Telerik
Website: www.telerik.com
Language: English | Mandarin Chinese
From: Peggy Chen <peggychen@accesssoft.com.tw>
Sent: Thursday, 23 April 2020 13:40
To: Peter Qu <Youpeng.Qu@progress.com>
Subject: [Accesssoft] Telerik support
Importance: High
Hi Peter,
我們在跟一個客戶討論續約問題,因為如果不續約,當下的版本是否可以一直沿用,因為這套軟體升級不會刪除舊檔案,導致很多問題出來。
因為客戶編輯好專案,也進行發行動作,但是安裝到電腦會發生錯誤,請問要在其他台電腦執行客戶的安裝該如何執行.
請回復技術問題.
軟體下進行模擬可以正常運行.
執行發行後的安裝檔
無法安裝.
附件有錯誤檔案.
Peggy
From: Peter Qu [mailto:Youpeng.Qu@progress.com]
Sent: Thursday, April 23, 2020 11:43 AM
To: Peggy Chen
Subject: RE: [Accesssoft] Telerik support
Hi Peggy,
It sounds a bit too complicated for the pre sales engineer. Can you please kindly let me know the license holder email and I will issue a support ticket on his Telerik account so that the developing team can get involved.
Thanks,
Peter Qu
Inside Sales Representative, APJ
Address: 120 Spencer Street | Melbourne, VIC, 3000 | Australia
Phone: +61 413 012 003 | +86 1350 1330 973
WeChat: Progress Telerik
Website: www.telerik.com
Language: English | Mandarin Chinese
From: Peggy Chen <peggychen@accesssoft.com.tw>
Sent: Thursday, 23 April 2020 13:40
To: Peter Qu <Youpeng.Qu@progress.com>
Subject: [Accesssoft] Telerik support
Importance: High
Hi Peter,
我們在跟一個客戶討論續約問題,因為如果不續約,當下的版本是否可以一直沿用,因為這套軟體升級不會刪除舊檔案,導致很多問題出來。
因為客戶編輯好專案,也進行發行動作,但是安裝到電腦會發生錯誤,請問要在其他台電腦執行客戶的安裝該如何執行.
請回復技術問題.
軟體下進行模擬可以正常運行.
執行發行後的安裝檔
無法安裝.
附件有錯誤檔案.
Peggy
How to reproduce: Make sure that the StartDate of the current view is not the first day of the week. Change the view to timeline and set the time scale to be Weeks:
this.radScheduler1.ActiveViewType = SchedulerViewType.Timeline;
SchedulerTimelineView view = this.radScheduler1.GetTimelineView();
view.ShowTimescale(Timescales.Weeks);
Hi, I would like to use the conversion tool to convert a WinForms project to Telerik controls. Unfortunately the menu item is not showing up for me. See attached screenshot.
The project to be converted does include a reference to System.Windows.Forms. I am using VS2019 with the latest Telerik Winforms release.
Thanks,
-Lou
If you have two RadGridView controls and you want to export both of the grids to a common file on two different sheets, it is suitable to use FileExportMode.NewSheetInExistingFile. However, when using the export overload to a stream doesn't respect the ExportMode.
Workaround: use exporting to a file:
string exportFile = @"..\..\exportedData.xlsx";
GridViewSpreadStreamExport spreadStreamExport = new GridViewSpreadStreamExport(this.radGridView1);
spreadStreamExport.FileExportMode = FileExportMode.NewSheetInExistingFile;
spreadStreamExport.ExportVisualSettings = false;
spreadStreamExport.RunExport(exportFile, new SpreadStreamExportRenderer());
Hallo,
I was using "Controldefault" theme and I got such an error message on laptops and desctops with smaller resolution when pointing to the gridview control:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.WinControls.UI.GridHeaderRowBehavior.FindCellToResize(Point pt)
at Telerik.WinControls.UI.GridHeaderRowBehavior.OnMouseMove(MouseEventArgs e)
at Telerik.WinControls.UI.BaseGridBehavior.OnMouseMove(MouseEventArgs e)
at Telerik.WinControls.UI.RadGridView.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Telerik.WinControls.RadControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
EMPLOYEES
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/EMPLOYEES.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
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.7.3190.0 built by: NET472REL1LAST_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.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Telerik.WinControls.UI
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TelerikCommon
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
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: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.TelerikMetro.DLL
----------------------------------------
Telerik.WinControls.Themes.Windows7
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.Windows7.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
VariablesKsiop
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/VariablesKsiop.DLL
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Telerik.WinControls.RadDock
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.RadDock.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Telerik.WinControls.GridView
Assembly Version: 2019.1.219.40
Win32 Version: 2019.1.219.40
CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.GridView.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
At the same time on desctops with full HD everything was OK. I solved my problem selecting "Windows7" theme but I don't think it is a normal situation so I decided to inform You.
I use Visual Studio 2019 but I was unable to choose it from the list to finish the ticket.