This question is locked. New answers and comments are not allowed.
I am having trouble figuring out which panel is expanded in the OnExpand client-side event. I have a panel that allows multiple items to be expanded, and I need to figure out which item is expanded/collapsed. My code for the panel is below. Any help would be greatly appreciated.
Thanks,
-Darren
Thanks,
-Darren
@{Html.Telerik().PanelBar() .Name("pnlUserForm") .ClientEvents(e => e.OnExpand("pnlUserForm_OnExpand").OnCollapse("pnlUserForm_OnCollapse")) .Items(i => { i.Add() .Text("User Information") .Expanded(true) .Content( @<text> <span id="validationErrors" class="errorMessage noDisplay"></span> ... </text>); i.Add() .Text("Contact Information") .Content("This is the Contact Panel"); i.Add() .Text("Positional Responsibilities") .Content("Positional Responsibilities"); i.Add() .Text("Account / Password Management") .Content( @<text> <div class="container" style="height: 200px;"> ... </div> </text>); } i.Add() .Text("View Permissions") .Content("Permissions Panel"); }) .Render(); }