Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
'Specified cast is not valid' when adding a dropdown item...
'Specified cast is not valid' when adding a dropdown item...
08-09-2005, 10:40 AM
richardm
Joined on 09-17-2004
Posts 8
'Specified cast is not valid' when adding a dropdown item...
Reply
Quote
When I run this code:
Dim dropdown As CuteEditor.RichDropDownList
dropdown = DirectCast(objEditor.ToolControls("Links").Control, CuteEditor.RichDropDownList)
I get this error:
System.InvalidCastException: Specified cast is not valid
Has anyone else had this problem? - The code is taken directly from the documentation.
[Using CuteEditor v4.5; and "links" does exist in the collection]
View Complete Thread