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

access data bound radcombobox from radgrid user edit form

0 Answers 48 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
ToltingColtAcres asked on 23 May 2012, 08:38 PM
I am using a Grid / User Control Edit Form in a  radgrid, similar to this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx


In this form, I wish to place a data-bound radcombobox. The combobox seems to work but I cannot figure out how to set the SelectedValue for the radcombobox so it will 'pre-set' to the correct entry when a user edits a pre-existing record.

Does anyone have an example of how I can do this? Thanks.

Never mind, figured it out... SelectedValue propery didn't pop up in visual studio as a property I could set at runtime. I manually added it to the line with the appropriate data binding and it now works great.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
Share this question
or