Get Selected Text from Combobox

4 posts, 0 answers
  1. Reshma
    Reshma avatar
    8 posts
    Member since:
    Oct 2013

    Posted 10 Oct 2013 Link to this post

    In my aspx page i am using


     and in save function of javascript in the same page i want to get selected items text and value of that combobox.But i am not able to receive it.
    i used all methods..Text,GetText,.SelectedItem.Text it says 'undefined' always.

    Can anyone help me out??
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Oct 2013 Link to this post

    Hi Reshma,

    Please try the following JavaScript to get the text and value of the RadComboBox selected item.

    <script type="text/javascript">
        function save() {
            var radcombobox = $find('<%=RadComboBox1.ClientID %>');
            var selecteditemtext = radcombobox.get_selectedItem().get_text();
            var selecteditemvalue = radcombobox.get_selectedItem().get_value();

  3. Ciupaz
    Ciupaz avatar
    47 posts
    Member since:
    Jun 2020

    Posted 07 Jul Link to this post

    If I have a RadComboBox like this: 


    <telerik:RadComboBox ID="acbFormati"
                    MarkFirstMatch="true" Width="100%" runat="server" CheckBoxes="true"


    how can I access - code-behind side (in VB.NET) - all items that the user has selected? 


  4. Peter Milchev
    Peter Milchev avatar
    857 posts

    Posted 09 Jul Link to this post

    Hello Luigi,

    The CheckedItems collection should do the job:

    Peter Milchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top