Jun 03, 2012, 5:14 PM
[CLOSED] ItemsFromPage BorderLayout
Hello,
It would appear that BorderLayout is not working with ItemsFrompage. Please see the following example:
Index.cshtml
Timothy
It would appear that BorderLayout is not working with ItemsFrompage. Please see the following example:
Index.cshtml
@(Html.X().TabPanel()
.Border(false)
.Items(a =>
{
a.Add(Html.X().Panel()
.Border(false)
.ItemsFromPage(this, "~/Views/SubPage.cshtml")
.Title("Example")
);
} )
)
SubPage.cshtml@(Html.X().Panel()
.Border(false)
.Layout(LayoutType.Border)
.Items(x =>
{
x.Add(Html.X().Panel()
.Html("North")
.Region(Region.North)
);
x.Add(Html.X().Panel()
.Html("Content")
.Region(Region.Center)
);
} )
)
Cheers,Timothy
Last edited by Daniil; Jun 04, 2012 at 7:39 AM.
Reason: [CLOSED]