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:
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
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