Menu

#29 Column Creation through properties list throwing exception

v2.X
open
1
2023-03-15
2023-03-15
No

Using Nuget package ObjectListView.Updated. From the Toolbox in my .NET 6Windows Forms Application I added the ObjectListView (BrightIdeasSoftware) control. Once added, I click on Properties, on the Columns collection property, I click on the three ellipses that lead to the column editor. The problem is the ellipses opens the ColumnHeader Collection Editor rather than the OLVColumn Collection Editor that it is supposed to open. When targeting .NET FraFramework,e OLVColumn Collection editor opens as expected. However, the application I am writing must be written in .NET 6. When I try to add a column anyway, I get an exception:

Exception: Unable to cast object of type 'System.Windows.Forms.ColumnHeader' to type 'BrightIdeasSoftware.OLVColmn'

Screenshots attached.

2 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.