RadCoboBox: Select a paticular item on button click

2 posts, 0 answers
  1. sandeep
    sandeep avatar
    17 posts
    Member since:
    May 2014

    Posted 31 Jul 2014 Link to this post

    I have a radcombobox and a button control, i want to select a particular item in radcombo box on button click,completely through client side, can any one give me an example on how to implement it using javascript or jquery.If not possible then on server side.


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Jul 2014 in reply to sandeep Link to this post

    Hi Sandeep,

    Please try the below JavaScript code snippet to select an Item of RadComboBox from JavaScript.

    function selectComboItem(sender, args) {
        var comboBox = $find("<%=rcboDemoItems.ClientID%>"); // access radcombobox
        comboBox.findItemByText("Item2").select(); // select an item based on text

    Let me know if you have any concern.
  3. DevCraft R3 2016 release webinar banner
Back to Top