Unable to use RadForm

10 posts, 0 answers
  1. Jesse Herrera
    Jesse Herrera avatar
    39 posts
    Member since:
    Jul 2006

    Posted 05 Jun 2008 Link to this post

    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.
  2. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 06 Jun 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jesse Herrera
    Jesse Herrera avatar
    39 posts
    Member since:
    Jul 2006

    Posted 06 Jun 2008 Link to this post

    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.
  5. Kiril
    Admin
    Kiril avatar
    158 posts

    Posted 06 Jun 2008 Link to this post

    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
  6. Jesse Herrera
    Jesse Herrera avatar
    39 posts
    Member since:
    Jul 2006

    Posted 06 Jun 2008 Link to this post

    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.
  7. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 09 Jun 2008 Link to this post

    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
  8. Jesse Herrera
    Jesse Herrera avatar
    39 posts
    Member since:
    Jul 2006

    Posted 09 Jun 2008 Link to this post

    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.
  9. Martin Vasilev
    Admin
    Martin Vasilev avatar
    1061 posts

    Posted 12 Jun 2008 Link to this post

    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
  10. Harald Braunstein
    Harald Braunstein avatar
    11 posts
    Member since:
    Sep 2006

    Posted 22 Sep 2008 Link to this post

    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
  11. Nick
    Admin
    Nick avatar
    767 posts

    Posted 24 Sep 2008 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready