i want to export radgrid in excel with column names (Header Texts). Am using below code to achieve this :-
RadGrid1.MasterTableView.ExportToExcel();
but it exports the data without header text,whereas i want to export the data with header text.
I am making div containing the grid as invisible at run time, which is my requirement.
Is there any way to export column headers too along with the data ??
Note :- I cannot show the grid on the page as it is specially created for the purpose of export.
Any kind of help will be highly appreciated