This question is locked. New answers and comments are not allowed.
Hello,
Have this setup:
Have this setup:
<%
Html.Telerik().PanelBar().Name(
"Customers2")
.ExpandMode(
PanelBarExpandMode.Multiple)
.SelectedIndex(0)
.Items((items) =>
{
foreach (var customer in Model)
{
items.Add()
.Text(
string.Concat("Customer: ", customer.Name, " (", customer.Key, ")"))
.Items((subitems) =>
{
subitems.Add().Text(
"Customer Details");
subitems.Add().Text(
"Find Address");
subitems.Add().Text(
"Employment Info");
});
}
}).Render();
%>
For whatever reason, when I click on the items, it's not expanding or collapsing at all; it just says as it is... also, I notice that it's using the UL... seems like a CSS issue; can't find anything in your demos where I need to define certain stylesheets? What else do I need to add to get this to work?
Thanks.