Hi all,
I was attempting to add an additional item to a radpanel dropdown using this method. After getting a Telerik not define javascript error, I found docs relating to Add/Remove RadControls to the Global Assembly Cache - indeed it references the Telerik.Web.UI. assembly which I should be able to find in a bin folder - but it is not there. There are plenty of Telerik references in my solution, but they are there to support what is going on, not this thing I want to do.
Do I have a different version (not sure how to determine this) than what would be appropriate with this method?
Do I need to find which developer committed the assemblies to my solution and get the Telerik.Web.UI one?
All the methods and docs in the Telerik site seem reasonable and straight forward, I am guessing I just need to either install locally or get the dll from the other developer and add it to my solution.
Can someone help me get started?
Thanks!
Troy
function AddNewItem()
{
var panelbar = $find("<%= RadPanelBar1.ClientID %>");
var panelItem = new Telerik.Web.UI.RadPanelItem();
panelItem.set_text("New Item");
panelbar.trackChanges();
panelbar.get_items().add(panelItem);
panelbar.commitChanges();
}