Combo bound to enum not holding value correctly


Author
Message
Andria Jensen
Andria Jensen
StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)StrataFrame User (406 reputation)
Group: Forum Members
Posts: 336, Visits: 497
I have a combo that is populated at runtime with string values and must be done this way due to multilingual issues.  It has a BindingField set to a field which is customized as an enum value, and the BindingProperty set to SelectedIndex.  I figured that this would work since an enum should cast to an integer which would be correct for setting the SelectedIndex property.  What I'm seeing at runtime is that I can change the value in the combobox all I want, but as soon as it loses focuses it goes back to the original value that it was bound to.  So basically, I can't change the value from whatever the original is.  Any reason you know of this is happening, and anything I can do to fix it?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search