Apr 26, 2012, 2:32 AM
[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:
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]