i have a panelBar and i am trying to add a partial view to it in razor. how can i do that?
@html.partial("file") is not working
.Content is not working unless i put @ sign and it wont let me position my controls
.loadContentFile is not working, please need help
@( Html.Telerik().PanelBar()
.Name(
"PanelBar")
.HtmlAttributes(
new { style ="width:900px;text-align:left" })
.ExpandMode(
PanelBarExpandMode.Multiple)
.Items(panelbar => {
panelbar.Add()
.Text(
"GENERAL")
.Expanded(
true);
panelbar.Add()
.Text(
"FUNDING/DATES")
.Items(parent =>
{
})
.Expanded(
false);
panelbar.Add()
.Text(
"INDICATORS")
.Items(parent =>
{
})
.Expanded(
false);
panelbar.Add()
.Text(
"DETAIL")
.Items(parent =>
{
})
.Expanded(
false);
panelbar.Add()
.Text(
"STATUS/MISC")
.Items(parent =>
{
})
.Expanded(
false);
})
)