I have a RadPanelBar.
I want to add RadPanelItem with Item template and into this Item template I want to add other controls (checkboxes and etc..)
This is my javascript function :
function AddRadPanelItem
{
var panelBar = $find("<%= pbMain.ClientID %>");
var panelItem = new Telerik.Web.UI.RadPanelItem();
panelItem.set_text("FIRST PANEL ");
//here I want to add Item template and my other controls in panelItem ?
panelBar.trackChanges();
panelBar.get_items().add(panelItem);
panelBar.commitChanges();
}
I want to add RadPanelItem with Item template and into this Item template I want to add other controls (checkboxes and etc..)
This is my javascript function :
function AddRadPanelItem
{
var panelBar = $find("<%= pbMain.ClientID %>");
var panelItem = new Telerik.Web.UI.RadPanelItem();
panelItem.set_text("FIRST PANEL ");
//here I want to add Item template and my other controls in panelItem ?
panelBar.trackChanges();
panelBar.get_items().add(panelItem);
panelBar.commitChanges();
}