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

Rad Grid GridViewComboBoxColumn

1 Answer 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rajendra
Top achievements
Rank 1
Rajendra asked on 21 Dec 2012, 09:05 PM
Hi, I have the list of records I want to display just in the grid view column as the label or text. But when the users goes for edit or add new I want to display some columns in dropdown or combo box. Please help me if someone already have done this scenario.

I don't want to display in comboBox from the loading of the grid since it takes un-necessary resources on loading all the records for each column in each cells.

thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Dec 2012, 03:53 AM
Hi,

Please try using the GridDropDownColumn which will be displaying as a text in the view mode and a DropDown/Combobox in the edit and insert mode.

ASPX:
<telerik:GridDropDownColumn DataSourceID="SqlDataSource1" DataField="OrderID" ListTextField="OrderID" DropDownControlType="RadComboBox" ListValueField="OrderID"></telerik:GridDropDownColumn>

Please check this help documentation for more details.

Thanks,
Shinu.
Tags
Grid
Asked by
Rajendra
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or