changing the selected item on clientclick ...

2 posts, 0 answers
  1. adam_right
    adam_right avatar
    7 posts
    Member since:
    May 2007

    Posted 18 Oct 2010 Link to this post

    by default, the ComboBox control changes the selected item when ranging the items. 

    is it possible to change the selected item just on clientclick event of any items ?

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

    Posted 19 Oct 2010 Link to this post

    Hi,


    I am not quite sure about your requirement. If you want to select an item in combo from any client event, then you can invoke the select() method of corresponding RadComboBoxItem.

    var combo = $find("<%= RadComboBox2.ClientID %>");
    var item = combo.findItemByText("Apples");
    item.select(); // Select item



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