1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    53
    Vote Rating
    0
    MacSimon is on a distinguished road

      0  

    Lightbulb General Layout question

    General Layout question


    Hi,

    I'm restructuring my app because of some mistakes in the construction of the layout.
    I just want some confirmation and tips regarding my plans.

    Included is a jpg on how I want it to be.

    Explanation and questions:

    The main page has a ViewPort wich contains a Centered panel.
    that panel contains a Borderlayout with 3 regions. (North, West, Center)

    The North-region contains a logo(header)
    the west-region contains a number of links in an accordion-layout
    the Center initially contains a homepage (independant aspx page)

    I want to display different pages in de center-region after clicking on links from the west-region.

    My application runs on ASP.NET MVC.

    question:
    Do I want to use an asp contentpage in the centerregion,
    or do I load the pages into the centerregion?

    Thank you for helping
    Attached Images

  2. #2
    Ext User
    Join Date
    Feb 2009
    Posts
    60
    Vote Rating
    0
    wayned@escc is on a distinguished road

      0  

    Default


    Firstly - I'd think about using Castle Monorail as ASPX will cause you all kinds of problems.

    That way you get to use controller methods and views to load the data into the panels. It works a charm for us ona a fairly large reporting/accounting app.

    Castle also makes it easy - when used with something like ActiveRecord to return JSON to things like the Ext Grid - doing this with ASP.NET Ajax extensions and the likes is messy adn hacky.

    Secondly - sounds like you might find the card layout handy too - an example of this can be found in the actual layout browser code: http://extjs.com/deploy/dev/examples...t-browser.html

    Look at how that example is created - it's a good example of what you're trying to achieve. There is also a good example in sakis examples pages: http://examples.extjs.eu/ - from memory - can't access it from here right now...

    hth

    w://
    --------------------------------------------

    collaborate & fix: http://jsbin.com/
    verify: http://www.jslint.com/
    beutify: http://jsbeautifier.org/

  3. #3
    Ext User
    Join Date
    Feb 2009
    Posts
    53
    Vote Rating
    0
    MacSimon is on a distinguished road

      0  

    Default


    Hi, thanks for the reply.

    I'm not just using asp, but I'm using MVC so this works with controller methods and views to. The ajax handling works with jquery and is fairly easy to implement so loading grids etc is no problem.

    But the last example you gave is actually something I'm looking for, but I suppose I better implement this without master/contenct-pages?

Thread Participants: 1