Created
September 7, 2016 02:38
-
-
Save ssvaidya/be4081beb0df87cb25b4e2f76f08759a to your computer and use it in GitHub Desktop.
Kendo Panel Bar with MVC Partial Views
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@(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