Can't put Inherited UI controls in the LayoutControl


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)
Group: Forum Members
Posts: 336, Visits: 497
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?
StrataFrame Team
S
StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)StrataFrame Developer (4.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
Andria Jensen
Andria Jensen
StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)StrataFrame User (426 reputation)
Group: Forum Members
Posts: 336, Visits: 497
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.
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Good to hear Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search