[JS] Get texts of checked ComboBox's Items.

2 posts, 0 answers
  1. Kurt
    Kurt avatar
    4 posts
    Member since:
    Jun 2014

    Posted 03 Oct 2014 Link to this post

    Hi,

    I've got something like this:

    var myControl = $find('ctl00_PageContent_RadComboBox2');
    var comboBoxItems = myControl.get_checkedItems();
    alert(comboBoxItems);


    and when I select 3 items, I recieve: [Object object], [Object object], [Object object].

    How can I extract Text or Value of these items?

    For example Text1, Text2, Text3.

    Regards
  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 06 Oct 2014 Link to this post

    Hello,

    You could check the following help article here and here, regarding the client side API of the control.

    Regards,
    Dimitar Terziev
    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top