@(Html.Kendo().PanelBar()
.Name("ICAPTeamContentPanelBar")
.ExpandMode(PanelBarExpandMode.Single)
.Items(panelbar =>
{
panelbar.Add()
//.Action("Membership", "ICAPTeam").Data("getentityId")
.LoadContentFrom("Membership", "ICAPTeam", new { entityid = 18 })
.HtmlAttributes(new { id = "ictMembership", @class = "PanelBarFont" })
.Text("Membership");
panelbar.Add()
.LoadContentFrom("AgentResult", "ICAPTeam")
.HtmlAttributes(new { id = "ictAgent", @class = "PanelBarFont" })
.Text("Agent Association");
panelbar.Add()
.LoadContentFrom("Proxy", "ICAPTeam")
.HtmlAttributes(new {id = "ictProxy", @class = "PanelBarFont"})
.Text("Proxy");
panelbar.Add()
.LoadContentFrom("Contacts", "ICAPTeam")
.HtmlAttributes(new {id = "ictContacts", @class = "PanelBarFont"})
.Text("Contacts");
})
)
Given this panelbar how can I set the value of entityid using JS?
Why don't the action and loadcontentfrom panelbar methods have a data property that allow setting parameters for the controller action?