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

RadComboBox selected value

1 Answer 50 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 24 Sep 2012, 01:54 PM
Here's a weird one. I have a page with a Formview (insert and edit modes) and various Rad controls within it.

One particular Rad Combobox is causing problems. Within the ItemUpdating event of my formview, I'm getting the selected value of the combobox and assigning it to a parameter of an ObjectDataSource on the page:

odsPage.UpdateParameters["ParentPageCode"].DefaultValue = ddlParentPage.SelectedItem.Value;

This works fine on my local dev machine (using VS 2012 and IIS Express). However when deployed to a production server, ddlParentPage.SelectedItem.Value is always equal to 1, no matter what option is selected in the combobox.

If it helps at all, the app is .NET4.5, and using the latest version of RadControls.

Matt

1 Answer, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 25 Sep 2012, 11:04 AM
Now fixed...!
Tags
ComboBox
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or