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

TextBox and Checkbox in same column?

1 Answer 165 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Randy Hompesch
Top achievements
Rank 1
Randy Hompesch asked on 27 Jul 2018, 01:22 AM

Is it possible? If so, can someone show me how?

Thanks ... Ed

 

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 27 Jul 2018, 07:11 AM
Hello Randy,

To achieve your requirement you can use the CellTemplate and CellEditTemplate properties of the gridview columns. You can read more about this in the RadGridView documentation. Basically, you can define the CheckBox and the TextBox in a DataTemplate and assign it to the corresponding property.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Randy Hompesch
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or