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

Unable to use RadForm

9 Answers 672 Views
Form
This is a migrated thread and some comments may be shown as answers.
Jesse Herrera
Top achievements
Rank 1
Jesse Herrera asked on 05 Jun 2008, 08:03 PM
I am developing on a Windows Server 2003 box using Visual Studio 2005. I installed the RadControls for WinForms 2008 SP1 on top of a previous Winforms installation from early 2007. My existing WinForm application works fine after installing the new Telerik update. However, I'm not seeing the RadForm class. I created a new project, added a reference to Telerik.WinControls to my new project and then proceeded to edit the default form to inherit from Telerik.WinControls.RadForm. The problem is "RadForm" is in red because VS2005 cannot find a reference to the class. I thought maybe I had to add a using clause but that didn't seem to help. Did my installation not work correctly, fogetting to register something, or am  missing something simple? Thanks.

9 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 06 Jun 2008, 10:56 AM
Hi Jesse Herrera,

Thank you for writing.

Most probably, the reason for the RadForm class to not appear is an assembly reference issue. Most likely, the project is still referencing old assemblies from Q3 2007, because you do not uninstall it and now in your GAC there are assemblies from old and new version either.

Please, check the version of assemblies in your project references (right click and select the properties item) and reattach it. If this does not help, make a clean install of the latest version: Uninstall all Telerik RadControls products, clean your GAC, and install Q1 2008 SP1 again.

I hope this helps. If you have other questions, do not hesitate to contact me again.

Sincerely yours,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jesse Herrera
Top achievements
Rank 1
answered on 06 Jun 2008, 01:34 PM
Uninstalling and reinstalling did not solve the problem. Do you have more specific instructions on how to solve the issue? I'm not sure how to go about cleaning my GAC. Thanks.
0
Kiril
Telerik team
answered on 06 Jun 2008, 02:02 PM
Hi Jesse Herrera,

You need to clear the Global Assembly Cache from assembles bearing old version numbers.
  1. Open the Control Panel,
  2. Open the Administrative Tools add-in
  3. Open the Microsoft .NET Framework 2.0 Configuration item
  4. In the tree on the left, navigate to Assembly Cache - in the panel on the right, click on View list of Assemblies in the Assembly Cache
  5. Delete all Telerik assemblies bearing a version number smaller than 6.1.0.0.
  6. Make sure any and all Telerik assemblies left in the GAC bear a version number 6.1.0.0

Once you have done that, please update all references in your project to point to the new assemblies. Make sure that the version referenced is 6.1.0.0.

I hope this helps. If you have any further questions, please contact me.


Kind regards,
Kiril
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jesse Herrera
Top achievements
Rank 1
answered on 06 Jun 2008, 02:42 PM
That still didn't solve the problem. I looked at my list of assemblies and everything had the correct version number on it except for Telerik.Charting. for some reason it won't let me delete it. All other Telerik assemblies have version 6.1.0.0. The reference to Telerik.WinControls in my new project points to the correct version as well. As far as I can tell the installation is correct. I just cannot reference RadForm for some reason.
0
Martin Vasilev
Telerik team
answered on 09 Jun 2008, 02:24 PM
Hello Jesse Herrera,

Please, send me a small example application that demonstrates the fact it's impossible to reference RadForm. It will help me to investigate the issue and provide you with further assistance.

I am looking forward to your response.

All the best,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jesse Herrera
Top achievements
Rank 1
answered on 09 Jun 2008, 02:30 PM
Hi Martin,

All I did was say new Windows Forms project and then try to change the form to use the RadForm based on the instructions. I think it's my configuration, not the coding, since I haven't coded anything. I was just trying to see how the RadForm works and I can't reference it from the very beginning of a project.
0
Martin Vasilev
Telerik team
answered on 12 Jun 2008, 01:08 PM
Hello Jesse Herrera,

Thank you for writing.

I'm sorry this is taking us so long to resolve. Indeed, the issue seems related to the specifics of the scenario. Please create a short movie, showing the whole procedure, and send it to us. Make sure that in the movie, you show the versions of the Telerik assemblies referenced in the project.

Please open a ticket in the support area to be able to attach it.

I am looking forward for your response.

Kind regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Harald Braunstein
Top achievements
Rank 1
answered on 22 Sep 2008, 12:57 PM
I had the same problem until I found out by myself that you have to include Telerik.WinControls.UI.dll to be able to access Telerik.WinControls.RadForm

The documentation unfortunatly doesn't tell you that.

Harald
0
Nick
Telerik team
answered on 24 Sep 2008, 07:47 AM
Hi Harald Braunstein,

Thank you for reporting this omission in our documentation. Our help will be updated in our future release.

Feel free to contact me if you have further questions.

Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Form
Asked by
Jesse Herrera
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Jesse Herrera
Top achievements
Rank 1
Kiril
Telerik team
Harald Braunstein
Top achievements
Rank 1
Nick
Telerik team
Share this question
or