Profile Picture

Invalid Cast Exception in NTreeList control

Posted By Tomas Vera 13 Years Ago
Author
Message
Tomas Vera
Posted 13 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 4, Visits: 1
Hello,
I am using a NTreeList control in detail view.
When I first populate the control, I am able to sort the columns as expected.
But if I add entries to my data source and rebuild the node collection, as soon as I click on any column header, I get an exception:

"An unhandled exception of type 'System.InvalidCastException' occurred in Nevron.Presentation.dll

Additional Information: Unable to cast object of type 'Nevron.UI.Winform.Controls.NTreeListNode' to type 'Nevron.UI.Winform.Controls.NTReeListHeaderItem'
"

Unfortunately, this error is holding up release of a product update (of course).

Any help/ideas are much appreciated!

-tomas




Similar Topics


Reading This Topic