Count items in Telerik’s RadComboBox


It is general requirement to show and count number of items in Telerik’s RadComboBox. And we can do that by using a simple javascript function.


In javasript:

function UpdateItemCountField(sender, args) {

//set the footer text

sender.get_dropDownElement().lastChild.innerHTML = “A total of “ + sender.get_items().get_count() + ” items”;


In aspx page:

add footer template as shown below code.


A total of

<asp:Literal runat=”server” ID=”RadComboItemsCount” />



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: