StrataFrame Forum

Can't put Inherited UI controls in the LayoutControl

http://forum.strataframe.net/Topic3176.aspx

By Andria Jensen - 9/28/2006

I am using the DevEx LayoutControl on almost every form I have in my application.  I have been having a problem since upgrading to 1.5.  I can't put most of the inherited controls inside a layout control.  It gives me an error saying "The object that the business object has been dropped on must implement MicroFour.StrataFrame.UI.Windows.Forms.IContainerControl."  I never had this problem until I upgraded, so maybe it's something to do with the Inherited UI compilation?
By StrataFrame Team - 9/28/2006

That's strange that you didn't get the error until you switched over to 1.5 because we have never had a layout control that implements the IContainerControl interface.  Until we add one to the Inherited Solution, you can add one to your own project by borrowing the source code for the MicroFour.StrataFrame.UI.Windows.Forms.UserControl and change the inherits to the DevExpress layout control and use that new control.
By Andria Jensen - 9/29/2006

Well, it looks like I just had an oversight on the version number.  I had a 1.4 Inherited UI dll referenced, but everything else was 1.5 and the DevEx stuff was 6.2.3 so it just didn't play well with the old Inherited UI dll.  I changed it over to 1.5 and it works fine now.
By Trent L. Taylor - 10/1/2006

Good to hear Smile