Hello,
Code snipet given on the telerik site is not working. Can you please give the updated snipet ?
Existing code:
link:
http://www.telerik.com/help/aspnet/panelbar/panelbar_client-sideapi.html
Can you please update it ?
I could make a change for the firstline :
But it failed for the second line:
Code snipet given on the telerik site is not working. Can you please give the updated snipet ?
Existing code:
function ExpandItem()
{
var panelbar = <%= RadPanelBar1.ClientID %>;
var item = panelbar.FindItemByText(text);
if (item)
{
item.Expand();
}
else
{
alert("Item with text '" + text + "' not found.");
}
}
link:
http://www.telerik.com/help/aspnet/panelbar/panelbar_client-sideapi.html
Can you please update it ?
I could make a change for the firstline :
var panelbar = $find("<%= RadPanelBarUserInfo.ClientID %>");
But it failed for the second line:
var item = panelbar.FindItemByText("AccountInformation");