This is a migrated thread and some comments may be shown as answers.

[Solved] How to get the selectedIndex of a telerik combobox

1 Answer 145 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Raju Kumar
Top achievements
Rank 1
Raju Kumar asked on 19 May 2008, 02:09 PM
Hi,
  How to get the selectedIndex of the

telerik

:RadComboBox

 using javascript on a click of a button.


Thanks.
Raju.

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 19 May 2008, 03:06 PM
Hi Raju Kumar,

You can use the following approach:

<script>  
 
var combo = $find('<%=RadComboBox1.Client.ID%>');  
alert(combo.get_selectedIndex());  
 
</script> 

I suggest you read our help article for more details.

Kind regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Raju Kumar
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or