Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
Example - UltraTextEditor DropDown
posted

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!

Parents
No Data
Reply
  • 37774
    posted

     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.

    -Matt

Children