I am testing a RadComboBox inside of a basic formview that is for a drop down selection of the months in a year. I want to display the months in the year in the combobox, then store the corresponding value in the database (e.g. If March is selected, then store "3").
I have set up the radcombobox as follows:
My formview is set to default to edit mode. The record I am testing with has the month column value set to "9" so I know the value is in the item list. However, when I run this program I get the error:
Selection out of range
Parameter name: value
I have looked at many posts on this issue, but I still do not know why I am getting this error. The database column I am binding to definitely has a valid value in it (e.g. "9") which should cause "September" to display based on the current record. Yet, I get this error.
This seems like such a simple requirement. How can I get this working?
Here is the stack trace: