This question is locked. New answers and comments are not allowed.
Hi,
I want to use the RadGridView to display the data from different tables.
So I am using Template Selector to choose the Template based on the requested table object (Creating Templates for each table object) .
I am able to choose the different Templates based on the different objects, but the problem is with the GridView headers.
I am not able to set the GridView headers with these templates. Because if we set the headers in the template, then these will repeat foreach Grid row. Also we can't hard code it in the GridView as the columns change based on the table.
And I dont want to use the "AutoGenerateColumns=true" property because some times I need to load the ComboBoxes in the GridView, which is not posible if we set "AutoGenerateColumns".
Please help me setting the headers for the Templates.
Regards,
SivaPrasad.B
I want to use the RadGridView to display the data from different tables.
So I am using Template Selector to choose the Template based on the requested table object (Creating Templates for each table object) .
I am able to choose the different Templates based on the different objects, but the problem is with the GridView headers.
I am not able to set the GridView headers with these templates. Because if we set the headers in the template, then these will repeat foreach Grid row. Also we can't hard code it in the GridView as the columns change based on the table.
And I dont want to use the "AutoGenerateColumns=true" property because some times I need to load the ComboBoxes in the GridView, which is not posible if we set "AutoGenerateColumns".
Please help me setting the headers for the Templates.
Regards,
SivaPrasad.B