View Full Version : [CLOSED] BorderLayout, FitLayout, AccordionLayout - where are this classes in v2?
boris
Feb 29, 2012, 10:39 AM
BorderLayout, FitLayout, AccordionLayout - I can't find reference to this classes in v2.
In v1 I import refernece to Ext.net dll and in c# code I have reference to this classes. In v2 I have dll reference to, but in razor there is message: "type or namespace could not be find ..."
Where are this classes?
Vladimir
Feb 29, 2012, 10:45 AM
Hi,
Please see item 34 in ChangeLog.txt
34. "Layout" type controls has been removed.
Use the Layout and LayoutConfig properties of a container.
Daniil
Feb 29, 2012, 11:01 AM
The CHANGELOG is available online as well:
https://examples2.ext.net/#/Getting_Started/Release_Documents/CHANGELOG/
boris
Feb 29, 2012, 11:16 AM
I find change log, but there is problem to move this:
BorderLayout layout = new BorderLayout();
layout.North.Split = true;
layout.North.Collapsible = true;
layout.West.MinWidth = 225;
layout.West.MaxWidth = 400;
layout.West.Split = true;
layout.West.Collapsible = true;
...
...
Viewport vp = new Viewport();
vp.Items.Add(layout);
to something like this:
Viewport vp = new Viewport();
vp.Items.Add(layout);
vp.Layout ... ?
vp.LayoutConfit. .... . ?
Daniil
Feb 29, 2012, 11:21 AM
Please investigate the example:
https://examples2.ext.net/#/Layout/BorderLayout/Simple_in_CodeBehind/
You could compare it with the same example in Ext.NET v1.
boris
Feb 29, 2012, 11:33 AM
Example helps me! Thanks! :)
Powered by vBulletin® Version 4.2.3 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.