RadComboBox set selected index client side

2 posts, 0 answers
  1. mike
    mike avatar
    14 posts
    Member since:
    Feb 2009

    Posted 16 Aug 2010 Link to this post

    How can i set the selected index of a combobox in javascript.

    eg: i wish to set the index to the first option upon when a check box is unchecked.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Aug 2010 Link to this post

    Hi Mike,

    The following code snippet shows how to select the first item in radcombobox from client side.

    Client code:
    function setSelectedIndex() {
        var combo = $find("<%= RadComboBox1.ClientID %>");

    To know more:
    RadComboBox object

Back to Top