I have the following code. When I expand the HydroTest panel bar it invokes the function HydroTestRadPanelBar_ItemExpand() , which collapses other panel bars which reside in other user controls (ASCX). This works, but after this, if I try to expand the collapsed panel bars using the UI, they will not expand. What am I missing?
<
script
type
=
"text/javascript"
id
=
"telerikClientEvents1"
>
//
<![CDATA[
function HydroTestRadPanelBar_ItemExpand(sender,args)
{
var panelbar = $find(weld1UserControlWeldRadPanelBarClientID);
for (var i = 0; i < panelbar.get_allItems().length; i++) {
panelbar.get_allItems()[i].set_expanded(false);
}
var panelbar2 = $find(weld2UserControlWeldRadPanelBarClientID);
for (var i = 0; i < panelbar2.get_allItems().length; i++) {
panelbar2.get_allItems()[i].set_expanded(false);
}
var panelbar3 = $find(jointUserControlJointRadPanelBarClientID);
for (var i = 0; i < panelbar3.get_allItems().length; i++) {
panelbar3.get_allItems()[i].set_expanded(false);
}
}
//]]>
</
script
>