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

Custom GridDropDownColumn

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
alo
Top achievements
Rank 1
alo asked on 24 Aug 2011, 06:36 AM
Hello,

I have extended the RadComboBox and I was wondering if I could use this custom version in the standard GridDropDownColumn.  I noticed there is a DropDownControlType property that has two options: RadComboBox and DropDownList.  Is it possible to add my extended version of the RadComboBox to these choices or is there a better way to use my extended version of the RadComboBox in a grid column.  I've tried using the TemplateColumn, but it seems overly complicated when I try to support filtering and sorting.

Al

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 26 Aug 2011, 01:02 PM
Hi Alo,

You cannot change the controls in the GridDropDownColumn. If you want to use the combo in edit mode only, you could use a regular bound column for browse mode and specify a FormTemplate for editing the grid where you can add controls of your choice:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx

Best wishes,
Tsvetina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
alo
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or