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

[Solved] EnableLoadOnDemand How to get the selectedValue in code behind?

1 Answer 183 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 27 May 2009, 09:20 PM
Ok i've been searching the forums for a solution on this..

there is no .value property associated to the radcombobox.. I have two radcomboboxes, both loading ondemand. In the second radcombobox OnItemsRequested event i attempt to get the selected value and it's null. Based on what i have read i am supposed to use .value? but that doesn't exist. .SelectedItem.Value also returns null..

Any help from anyone is appreciated. I'm obviously missing something..

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 28 May 2009, 09:29 AM
Hi Rich,

The Value property was used in load-on-demand scenarios for the "classic" RadComboBox.
In RadComboBox for ASP.NET Ajax you can use the SelectedValue property.
Please check the article on how to pass context information to the server.

All the best,
Veselin Vasilev
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
ComboBox
Asked by
Rich
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or