- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
There was nothing wrong with your code. I added a default case for testing so you may want to remove it. In your DDList you can have a value that you display and a value that you sbmit. This is common for DDlists. If you look at the binding tab you will see that the values are not the same. So the rawValue property will give you what is submitted and the formattedValue property will give you what is displayed. I simply modified your code to use the formattedValue and it works. You may want to fix the DDlist becaus eit is still set to submit a numeric value instead of the Name that the user selects.
I have attahend the modified sample
Paul
Views
Replies
0 Likes
Total Likes