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

How to get the selected value of a RadComboBox using javascript?

3 Answers 440 Views
Forum suggestions
This is a migrated thread and some comments may be shown as answers.
Pooya
Top achievements
Rank 1
Pooya asked on 01 Jul 2009, 10:50 AM
I have a RadComboBox on my page:
<telerik:RadComboBox ID="RadComboBoxProduct" runat="server" Height="200px" Width="200px"
                            DropDownWidth="298px" EmptyMessage="Choose a Product" />

I have populated its data at run time, client name as text and clientId as value.

How can I get the selectedItem value using javascript?

function getSelectedValue(radComboBox)
{
// how to implement this?
}

Any help is much appreciated.

3 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 01 Jul 2009, 10:57 AM
Hello P,

Please refer to this help article for details on the matter.

All the best,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Pooya
Top achievements
Rank 1
answered on 02 Jul 2009, 12:37 PM
Thanks Paul but the problem is that I am using 

Telerik.WebControls.

RadComboBox not the Telerik.Web.UI.RadComboBox.

Is there anyway to be able to select the selected value of this RadComboBox using JavaScript?

Pooya,

 

0
Paul
Telerik team
answered on 03 Jul 2009, 01:08 PM
Hello Pooya,

Please refer to these help articles on the matter.

The RadComboBox client object model
The RadComboBoxItem client object model

Greetings,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Forum suggestions
Asked by
Pooya
Top achievements
Rank 1
Answers by
Paul
Telerik team
Pooya
Top achievements
Rank 1
Share this question
or