views:

54

answers:

1

Hello guys,

I have developed a custom Designer (by inheriting from DocumentDesigner and reflecting the code found in the FormDocumentDesigner class so that I do not brake the default Form design time features) class for my forms. I associate the designer with my forms by using the Designer attribute the following way:

[Designer(typeof(MyDesigner), typeof(IRootDesigner))]

Everything seems to work fine except when I try to add a Data Table with drag-and-drop from the Data Sources window in Visual Studio. Visual Studio will not allow me to do this, i.e. I cannot drop it on my form. This comes from the custom designer for sure, since when I remove it everything works as expected.

Any ideas what might be causing this would be greatly appreciated.

Thanks for your time.

A: 

Hey, guys, any ideas out there?

WorldIntruder