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

[Solved] [12:50:46 PM] Mayilsamy: How to bind data to radgrid dropdowncolumn

1 Answer 135 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 27 Aug 2009, 07:20 AM
Hi,

1.Using RadGrid I am displaying a set of data. One of the column is set as a griddropdowncolumn option. The related database field holds the data as 0,1 and Null. I would like the grid to show it as Rejected, Approved and Pending respectively. How do I accomplish this.
2.In the RadGrid when doing an Inline edit only 2 options should be made available that is Approved and Rejected. How do I accomplish this?

Thanks
Sabrish

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 31 Aug 2009, 02:17 PM
Hello Sabrish,

I recommend that you take a look at the Operations with MS DropDownList in EditItemTemplate of GridTemplateColumn help topic and set the options in the DropDownList according to the mode of the grid in the ItemDataBound and UpdateCommand event handlers.

Best wishes,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or