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

Threaded View

Previous Post Previous Post   Next Post Next Post
  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:

    @(Html.X().Panel()
                .Collapsible(true)
                .Layout(LayoutType.Anchor)
                .Height(800)
                .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 9:41 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 11
    Last Post: Mar 20, 2013, 4:43 PM
  2. Replies: 8
    Last Post: Jul 20, 2012, 1:33 PM
  3. Replies: 2
    Last Post: Jun 06, 2012, 3:38 PM
  4. Change input type based on data type
    By bjones in forum 1.x Help
    Replies: 5
    Last Post: Jan 06, 2012, 9: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, 6:50 AM

Posting Permissions