[CLOSED] Panel layout type seems to break when using ContentFromPage

  1. #1

    [CLOSED] Panel layout type seems to break when using ContentFromPage

    Hi there,

    I'm trying to load a partial view to a Panel using the .ContentFromPage method like so:

                .ContentFromPage(this, "/Views/Shared/_TEST.cshtml")
    If I remove the layout type parameter, the partial view is displayed as expected (the contents of the partial view doesn't matter - this occurs with plain text too), with the layout type set to a value, the panel always appears empty (the layout type selected doesn't seem to matter - I've tested with anchor, column, fit, container and all have the same result)
    Last edited by Daniil; May 02, 2012 at 10:41 PM. Reason: [CLOSED]
  2. #2

    What is the content of the partial view?

    If non Ext.NET controls, then you can't use Layout, because only Ext.NET controls are participated in layout logic.

    If there are Ext.NET controls, then it should be ok. Probably, you will need to set up
    for top level Ext.NET controls within the partial view. It's for AnchorLayout.

Similar Threads

  1. Replies: 11
    Last Post: Mar 20, 2013, 5:43 PM
  2. Replies: 8
    Last Post: Jul 20, 2012, 2:33 PM
  3. Replies: 2
    Last Post: Jun 06, 2012, 4:38 PM
  4. Change input type based on data type
    By bjones in forum 1.x Help
    Replies: 5
    Last Post: Jan 06, 2012, 10:54 AM
  5. [CLOSED] What the edit type supported by the Grid Panel?
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 01, 2009, 7:50 AM

Posting Permissions