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

DataValueField at a client side?

1 Answer 199 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 1
Sergey asked on 28 May 2008, 01:05 PM
Hi,

I have a ComboBox component at page:

<

radC:SlComboBox ID="slcbRackOfferEntity" runat="server" Width="250px" DataSourceID="odsRacks" DataTextField="Caption" DataValueField="Id" AutoPostBack="True" SelectedValue='<%# Bind("RackId") %>' OnSelectedIndexChanged="slcbRacks_SelectedIndexChanged"></radC:SlComboBox>

How can I get DataValueField of selected value at client side on button client click event?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 28 May 2008, 04:15 PM
Hi Sergey,

You can use the get_value() client side method of RadComboBox to get the selected value. For more info please check this help topic.

Regards,
Albert
the Telerik team

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