Jun 06, 2013, 8:56 PM
[CLOSED] Accordion Inside Viewport with Border LayoutType
Hello,
what's wrong with this code ?
When the user press on the second panel of the accordion control it gets expanded only for half of the available height and clicking on the first panel title does not produce any effect.
Is it a bug ?
Regards,
Alberto
what's wrong with this code ?
When the user press on the second panel of the accordion control it gets expanded only for half of the available height and clicking on the first panel title does not produce any effect.
Is it a bug ?
Regards,
Alberto
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Test</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
</head>
<body>
@Html.X().ResourceManager().CleanResourceUrl(true)
@(
Html.X().Viewport()
.ID("mainViewport")
.Layout(LayoutType.Border)
.Items(
Html.X().Panel().Height(40).Region(Region.North).Html("North"),
Html.X().Panel()
.ID("mainMenu")
.Region(Region.West)
.Split(true)
.Layout(LayoutType.Accordion)
.Items(
Html.X().Panel().Title("Settings").Html("First"),
Html.X().Panel().Title("Even More Stuff").Html("Second"),
Html.X().Panel().Title("My Stuff").Html("Third")
),
Html.X().Panel()
.ID("mainPanel")
.Region(Region.Center)
.Layout(LayoutType.Fit).Html("center")
)
)
</body>
</html>
Last edited by Daniil; Jun 07, 2013 at 12:26 PM.
Reason: [CLOSED]