views:

22

answers:

1

I would like to have some sample code on how to do a paginated ComboBox. My data consist on 1300+ items. When the user clicks the combo box arrow, the combobox will display display 25 (page size configurable) items at the time with arrows up/down (depending on page location) so that the user can request the previous/next page. The data is coming from a generic list.(List)

Thus, the idea is to display only a subset of the data at the time.The user can scroll and select from the list as per normal combobox. At the top and bottom of the list should be a new button to request the previous or next page of navigator values.

Note: All data is read only. For legacy issues I can only use Winforms (.net 2.0) and C# but VB.net code will do as well

A: 

you might want to consider using a treeview as a dropdown control for your combobox, smth like is done here:

alt text

you can get source code for this control here: ComboBox control with a TreeView I guess it should give an idea on how to proceed with your task

regards

serge_gubenko
No need, see comment above.Thank you for your time, I am actually thinking of another project that can benefit of this treeview combo box
mas_oz2k1