This is a migrated thread and some comments may be shown as answers.

Can't add inherited controls to toolbox

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 09 Sep 2008, 01:44 PM
$0I am using RadControls for ASPNET AJAX Q2 2008 trial, and I have created an assembly which contains subclasses of the controls to be used for future extension.  My classes look like so:$0$0$0$0$0using Telerik.Web.UI;$0$0$0$0$0namespace CustomControls$0$0{$0 class MyRadGrid : RadGrid$0$0 {$0 }$0}$0$0$0$0I would like to then use this assembly in other projects and add these new controls to the toolbox.  However, when trying to use this assembly to add controls to the toolbox I get the following error:$0$0$0$0"There was an error loading types from assembly 'C:\MyProject\CustomControls.dll' 'Could not load file or assembly 'Telerik.Web.UI, Version=2008.2.723.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies.  The system cannot find the file specified.'"$0$0$0$0$0What am I missing?$0$0~Jason$0

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 09 Sep 2008, 03:01 PM
Hello Jason,

Please make sure that you have referenced our assembly properly and you have added it to your application.

Review our throubleshooting section RadControls online help and the following topics as well:
http://www.telerik.com/help/aspnet-ajax/troubleshooting.html
http://www.telerik.com/help/aspnet-ajax/installaddtoglobalassemblycache.html
http://www.telerik.com/help/aspnet-ajax/using-radcontrols-net20-30-35-projects-vs2008.html
http://www.telerik.com/help/aspnet-ajax/installaddingtoappwithvs.html

Best wishes,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Jason
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or