|
Article relates to
|
RadControls "Prometheus" for .NET v3.5
|
|
Created by
|
Helen
|
|
Last modified
|
2008/03/27
|
|
Last modified by
|
Stephen, Telerik
|
This KB article relates to RadControls Prometheus Q3 2007 SP1 or previous versions. RadControls Q3 2007 SP2 or later does not have separate Telerik.Design.dll (as it is integrated in Telerik.Web.UI. dll already) and include various design-time improvements under VS 2008 which should solve the issue discussed here.
PROBLEM
Error “Rendering Control - RadControl”
An unhandled exception has occurred.
Could not load file or assembly 'Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.
Or
Error “Creating Control - RadMenu1”
Failed to create designer 'Telerik.Web.UI.RadMenu, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
SOLUTION
When using VS 2008, both the Telerik.Web.UI.dll and Telerik.Web.Design.dll files should reside either in the GAC or the bin folder of your application.
- If you install the controls using the installation “exe” file, the Telerik.Web.Design.dll will be automatically added to the GAC. Therefore, you will have to add the Telerik.Web.UI.dll to the GAC, too. Please, make sure that you have administrator priviliges (run as admin).
- If you extract the dll files from a provided ZIP file, the Telerik.Web.Design.dll will NOT be installed to the GAC. Therefore, both the dll files (Telerik.Web.Design.dll and Telerik.Web.UI.dll) should be placed in the bin folder of your application.
Note: This error occurs only with Telerik.Web.UI for .NET version 3.5 (these dll files reside under the bin35 folder in the installation ZIP)
Example
- If you use the installation “exe” file, after the installation you will have the following two versions of Telerik.Web.Design.dll in the GAC:
- Create a new .NET 3.5 web site and drag/drop the AjaxPanel control (for example) onto the web form, the following error will be displayed:
- Close the VS and add the Telerik.Web.UI.dll (which resides in C:\Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007\Bin35 folder) to the GAC:
- Start the VS again.
- No error is displayed.
Please
Sign In
to rate this article.