Hi
I am databinding to a grid and using valuelists to lookup each of my code fields. This works great however i want to perform the same thing against simple data bound controls rather than a grid. i.e the Ultralabel control.
So i can manually create the binding to the text property and bind it to the correct column of the bindingsource but now i want to lookup that value against a valuelist.
Any ideas?
There's no way to do this with UltraLabel - or at least there is no functionality built-in to the UltraLabel to do it. You might be able to acheive what you want by using the Parse and Format events of the DataBinding object.
Or you might want to use an UltraCombo or UltraComboEditor control instead of a label. You could disable editing on the control if you don't want the user changing it.
Hi Mike,
Thanks for your reply.
I'm trying to use the UltraCombo as you suggest however i cannot get it working how i want to.
As the user will not be able to click onto the combo at all i would like the text property to be the looked up value from the valuelist based on the id/code of the bound data.
How would i achieve this?