Hi there,
After reading all the documentation, the posts and digging into the samples I have yet to find a single, simple example of how to, I guess a simple task for many of the experts, that I hope can shed some light:
I have an UTE with a DropDown right button
What I want to do, is to bound a query from the database and to create a list, from where the user can choose a value to display as the UWE text.
Since I'm using SQL CE the resultset will be the datasource.
Does anybody have a working sample on how to do this (VB.Net 2008) ?
Thanks in advance!
I'm pretty sure that there are samples that ship with the NetAdvantage SDK regarding data binding. As for which to use, the UltraComboEditor is close to the .NET ComboBox control, in that it will show a single column of values, whereas the UltraCombo can show multiple columns and has some of the UltraGrid's funcitonality within the dropdown.
-Matt
Matt,
Thanks for your prompt response.
If possible, can you suggest which one to use UC or UCE ?
A brief example on how to bind a datasource will also be of great help
Why not just use an UltraCombo or UltraComboEditor? Both of these use an EditorWithText as their underlying editors, but have all the data-binding functionality already wrapped into the button. If you use the UltraTextEditor, you would have to generate this list yourself (or create a grid to use as the control shown in the dropdown, then bind the source to that), but it seems like it'd be a lot of unnecessary work.