This is a migrated thread and some comments may be shown as answers.

[Solved] How to show multip column in GridViewComboBoxColumn at cellEditTemplate mode?

3 Answers 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
dao hong ninh
Top achievements
Rank 1
dao hong ninh asked on 30 Nov 2010, 02:49 AM
Can you help me?
I want to show multipcolumn into combobox of GridViewComboBoxColumn at CellEditTemplate mode. Item of combobox in the GridViewComboBoxColumn has header for column. Ex:
---------------------------------------------------------------
  ID      |        Name        |           LocationID        |
---------------------------------------------------------------
|   1       |       John           |      AD                            |
When i chose LocationID, then the comboBox in GridViewComboColumn show:
|           AD              |
|       LocationID    |       LocationName      |
|         AD                |         Andorra                |
|         AE                |  United Arab Emirates   |
|         AT                |         Austria                  |

Can you create demo example for me?

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 30 Nov 2010, 08:05 AM
Hello dao hong ninh,

You may try to work with the ItemTemplate of the GridViewComboBoxColumn as demonstrated in details in our online documentation.
 

All the best,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
dao hong ninh
Top achievements
Rank 1
answered on 30 Nov 2010, 08:24 AM
in the online documentation, ItemTemplate in DropdownOpen of Combobox has not header of column and when value of selectedItem display all row, i only want display LocationID field.
0
Maya
Telerik team
answered on 02 Dec 2010, 09:02 AM
Hi dao hong ninh,

I would need a bit more clarification on your issue. Do you want to put a grid inside the GridViewComboBoxColumn ? What do you mean by choosing LocationID - as far as I can see it is a column of the grid you want to show inside the ComboBox ? What do you want to select from the ComboBox and consequently - what do you want to be displayed in the GridViewComboBoxColumn afterwards ? Furthermore, you may take a look at this blog post for a reference on how to play along a bit with the Template of the RadComboBoxItem.
 

Best wishes,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
dao hong ninh
Top achievements
Rank 1
Answers by
Maya
Telerik team
dao hong ninh
Top achievements
Rank 1
Share this question
or