RadComboBox selected value

2 posts, 0 answers
  1. John
    John avatar
    25 posts
    Member since:
    Mar 2007

    Posted 24 Sep 2012 Link to this post

    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
  2. John
    John avatar
    25 posts
    Member since:
    Mar 2007

    Posted 25 Sep 2012 Link to this post

    Now fixed...!
Back to Top