In a previous forum thread ( http://www.telerik.com/community/forums/aspnet-ajax/grid/is-this-conventional-practice-with-a-radgrid.aspx ) 'Marin' suggested that I could move the RadComboBoxes to the ItemDataBound event.
First of all, keep in mind that the RadComboBoxes have conventional Bind statements on their SelectedValue property and that they are in a RadGrid FormTemplate.
When I tried to move their population calls to ItemDataBound (within a 'if (e.Item is GridEditFormItem && e.Item.IsInEditMode)' block) it crashed.
So I suppose my question has two parts.
First: Is there a demo that does this?
Second: How do I prevent a RadComboBox from crashing on a bad incoming value, i.e. one that isn't in it's list?
(This is more of a deja vu thing. I'll swear I've done this before but I can't find the code...)
First of all, keep in mind that the RadComboBoxes have conventional Bind statements on their SelectedValue property and that they are in a RadGrid FormTemplate.
When I tried to move their population calls to ItemDataBound (within a 'if (e.Item is GridEditFormItem && e.Item.IsInEditMode)' block) it crashed.
So I suppose my question has two parts.
First: Is there a demo that does this?
Second: How do I prevent a RadComboBox from crashing on a bad incoming value, i.e. one that isn't in it's list?
(This is more of a deja vu thing. I'll swear I've done this before but I can't find the code...)