Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hi,
I want to add a RadListBoxItem into a RadListBox from javascript. Can anybody help me to achieve this scenario ASAP?
Thanks in advance
function
AddNewItem()
{
var
lb = $find(
"<%= RadListBox1.ClientID %>"
);
item =
new
Telerik.Web.UI.RadListBoxItem();
item.set_text(
"New Item"
lb.trackChanges();
lb.get_items().add(item);
item.select();
lb.commitChanges();
}