
sankardeep v
Top achievements
Rank 1
sankardeep v
asked on 05 Jan 2010, 09:33 AM
I need it inside javascript ,i know how to get it in server side............ pls help guysssssssssssss
<script type="text/javascript" language="javascript">
function removeRadListboxItems(id) {
for (var i = 0; i < count; i++) {
var item = id.getItem(0);
id.trackChanges();
id.get_items().remove(item);
id.commitChanges();
}
}
</script>
count ????????????????
<script type="text/javascript" language="javascript">
function removeRadListboxItems(id) {
for (var i = 0; i < count; i++) {
var item = id.getItem(0);
id.trackChanges();
id.get_items().remove(item);
id.commitChanges();
}
}
</script>
count ????????????????
5 Answers, 1 is accepted
0

sankardeep v
Top achievements
Rank 1
answered on 05 Jan 2010, 09:42 AM
some one pleas help i am new to telerik ...............
0
Accepted
Hello sankardeep v,
Greetings,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Please use id.get_items().get_count().
Greetings,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

sankardeep v
Top achievements
Rank 1
answered on 06 Jan 2010, 06:53 AM
thanks.........
0

Asutosh
Top achievements
Rank 1
answered on 07 Jun 2014, 07:23 AM
hi i have two RadListBox
one is source and another is destination
so how can i remove all RadListBox item using javascript
thanks
one is source and another is destination
so how can i remove all RadListBox item using javascript
thanks
0
Hello,
You can use the Clear method of the RadListBoxItemCollection client object that will clear the items of the ListBox.
Hope this will be helpful.
Regards,
Plamen
Telerik
You can use the Clear method of the RadListBoxItemCollection client object that will clear the items of the ListBox.
Hope this will be helpful.
Regards,
Plamen
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.