Skip to content

Instantly share code, notes, and snippets.

@ssvaidya
Created September 7, 2016 02:38
Show Gist options
  • Save ssvaidya/be4081beb0df87cb25b4e2f76f08759a to your computer and use it in GitHub Desktop.
Save ssvaidya/be4081beb0df87cb25b4e2f76f08759a to your computer and use it in GitHub Desktop.
Kendo Panel Bar with MVC Partial Views
@(Html.Kendo().PanelBar()
.Name("panelbar")
.ExpandMode(PanelBarExpandMode.Single)
.Items(panelbar =>
{
panelbar.Add().Text("BODY")
.Content(@<text> @Html.Partial("MVCView1") </text>);
panelbar.Add().Text("ENGINE")
.Content(@<text> @Html.Partial("MVCView2") </text>);
panelbar.Add().Text("TRANSMISSION")
.Content(@<text> @Html.Partial("MVCView3") </text>);
panelbar.Add().Text("PERFORMANCE")
.Content(@<text> @Html.Partial("MVCView4") </text>);
})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment