Design error trying to inherit from base form

2 posts, 0 answers
  1. Mark Peterson
    Mark Peterson avatar
    8 posts
    Member since:
    Feb 2010

    Posted 20 Feb 2012 Link to this post

    Hey Telerik!

    We are currently evalutaing your windows forms control suite and have hit a road block.  One of our custom controls that we created relies on a base windows form which contains all the drag/drop logic, etc.  The other forms then inherit from this base form.  This works perfectly with regular windows forms.

    When I tried to set up a simple scenario with a base form and have a second form inherit from the base, I am unable to add any controls in the designer and instead am greeted with this design error:

    "   The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: InheritBase --- The base class 'WindowsApplication1.RadFormBase' could not be loaded. Ensure the assembly has been referenced and that all projects have been built. "

    I have uploaded my simple test here :

  2. Stefan
    Stefan avatar
    2906 posts

    Posted 24 Feb 2012 Link to this post

    Hello Mark,

    Thank you for writing.

    I have opened the sample project provided and it runs correctly. Additionally, both forms load correctly at design time (see the attached video). Could you please let me know what are the steps that I need to take in order to reproduce the experienced issue, so I can investigate it and provide you with further support.

    Thank you for your time and cooperation.

    I am looking forward to your reply.
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top