I am trying to get the selected item of the PanelBar but I always get null. Can any one help me? Greatly appreciated.
--------------My Code-------------------------------------------
//Getting PanelBar1 inside custom control called "folderExplorer"
var panelbar1 = <%=((RadPanelBar)folderExplorer.FindControl("PanelBar1")).ClientID %>;
//panelbar1 object is okay but I am not able to get any selected items
var myitem = panelbar1.get_selectedItem();