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

[Solved] RadGrid pivot with controls

1 Answer 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 19 Apr 2013, 09:22 PM
I was wondering if there is a way to pivot a radgrid so that my columns are now the rows.  I tried a radgrid pivot table but I need to be able to add controls such as textboxes and checkboxes to each radgrid cell.

1 Answer, 1 is accepted

Sort by
0
kranthi kiran pusala
Top achievements
Rank 1
answered on 20 Apr 2013, 11:19 AM
You can Transpose the datatable and then bind the new datatable to the RadGrid.
Here is a link which shows how to get the transpose: http://www.codeproject.com/Articles/44274/Transpose-a-DataTable-using-C

Then, on ItemDataBound you can add the controls.
Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
kranthi kiran pusala
Top achievements
Rank 1
Share this question
or