[CLOSED] BorderLayout, FitLayout, AccordionLayout - where are this classes in v2?

  1. #1

    [CLOSED] BorderLayout, FitLayout, AccordionLayout - where are this classes in v2?

    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?
    Last edited by Daniil; Feb 29, 2012 at 10:35 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please see item 34 in ChangeLog.txt
    34. "Layout" type controls has been removed.
    Use the Layout and LayoutConfig properties of a container.
  3. #3
    The CHANGELOG is available online as well:
    https://examples2.ext.net/#/Getting_...nts/CHANGELOG/
  4. #4
    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. .... . ?
  5. #5
    Please investigate the example:
    https://examples2.ext.net/#/Layout/B...in_CodeBehind/

    You could compare it with the same example in Ext.NET v1.
  6. #6
    Example helps me! Thanks! :)

Similar Threads

  1. Any example of custom css classes?
    By vadym.f in forum 1.x Help
    Replies: 6
    Last Post: Jan 23, 2012, 8:09 PM
  2. [CLOSED] Dynamic css classes
    By Justin_Wignall in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 18, 2011, 3:32 AM
  3. Replies: 3
    Last Post: Apr 08, 2010, 5:28 PM
  4. [CLOSED] [1.0] Problem in AccordionLayout, MenuPanel, MenuItem
    By miguelon in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 22, 2009, 2:48 PM
  5. [CLOSED] [1.0] CSS classes missing or changed?
    By state in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Oct 19, 2009, 6:01 PM

Tags for this Thread

Posting Permissions