I've come across an error when attempting to add my Custom Control to the sitefinity toolbox which is the following - Unable to cast object of type 'CustomSearchResults.CustomSearchBoxToolboxItem' to type 'System.Drawing.Design.ToolboxItem'. I've found and follwed the steps in the following forum thread (Uploading Custom DLL
), but still haven't been able to resolve it yet.
So far I have a CustomSearchResult DLL, which contains the following namespace and class
#region Search Result
CustomSearchResult : SearchResult
in the same code file I also have the following toolbox entry
CustomSearchBoxToolboxItem : ToolboxItem
"Test Search Control"
And finally I have the following entry in the web.config file.
The CustomSearchResults.DLL is held within the sites bin folder which is where I've pointed the web.config file.
If anyone could tell me where I'm going wrong it would be appreciated.