Hi,
is there any way to display values in the combobox in multiple columns and rows? I want to show numbers to the user to choose from. There should be 3 or 4 numbers each row. In total the user can choose from about 30 - 40 numbers.
Example:
1 | 2 | 3 | 4
5 | 6 | 7 | 8
...
Thanks,
Hilmar
3 Answers, 1 is accepted
0
Nikolay
Telerik team
answered on 08 May 2008, 02:38 PM
Hi Hilmar Bunjes,
I suggest that you refer to the following RadComboBox example:
Hi Nick,
thanks for your answer. Unfortunately it's not exactly what I'm looking for. In the example there is one entry per row (with multiple values shown in one line) and you cannot select a single value of a row but only the full row.
What I'm looking for is a display structure like this:
1 | 2 | 3 | 4
5 | 6 | 7 | 8
...
where you can choose single numbers (e.g. only number 3 or only number 5). If you hover above the number "4" this single numbered is marked and if you click only the number "4" is selected and not the whole row.
Edit:
Actually the RadColorPicker is close to what I'd like to have but instead of colors the user should choose numbers.
Best,
Hilmar
0
Nikolay
Telerik team
answered on 09 May 2008, 12:32 PM
Hi Hilmar Bunjes,
There is no such a built-in feature in the combobox.
You can, however, use the combobox' ItemTemplate and embed the proper control in the template. Then, you can hook either on a client or server event of that control and change the text of the combobox:
At the server side you will have to sue the Text property of the combobox object
At the client side you will have to use the set_text() method of the combobox client obejct