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

Design error trying to inherit from base form

1 Answer 134 Views
Form
This is a migrated thread and some comments may be shown as answers.
Mark Peterson
Top achievements
Rank 1
Mark Peterson asked on 20 Feb 2012, 09:48 PM
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 :  http://www.vbninja.com/baseformtest.zip

Thanks
Mark

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 24 Feb 2012, 08:59 AM
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.
 
Greetings,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Form
Asked by
Mark Peterson
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or