how to get number of items in a RadComboBox in normal web page?

3 posts, 0 answers
  1. Khyati
    Khyati avatar
    1 posts
    Member since:
    Jul 2011

    Posted 19 Jul 2011 Link to this post

    Hi there,

    I am totally new in case of RadControls and at beginner level at the moment.
     I am just doing the first simple webpage i which I want to put a RadComboBox and with few items already in there.

    When I run it I need to know at client side, how many items are there in a combo box and need to show the count in a msgbox or alert.

    Can any one help me please... :D

    Thank you in advance..

    Khyati.
  2. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 19 Jul 2011 Link to this post

    Hi Khyati,

    Please take a look at this help article. At the bottom of the page you will find an example how to get the number of the RadComboBox items at client-side using the RadComboBoxItemCollection get_count() property.

    All the best,
    Kalina
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Heera
    Heera avatar
    11 posts
    Member since:
    Dec 2011

    Posted 26 Nov 2012 Link to this post

     var combo = $find("<%= Radcboactive.ClientID %>");
    combo.get_items().get_count();
Back to Top