S
SA
hi
I have a datagrid bound to a datasource. I am generating the columns
in the datagrid dynamically. I override the loadviewstate method and
recreate the datagrid columns once again. In this way my viewstate is
maintained. I have a Export to Excel option which exports the data in
the grid as it is to Excel. I make use to the viewState to get this
data into Excel.
Now some of the rows in my datagrid have a different style
(they are bold). This information is not maintained in the viewstate.
I am exporting the information available in the viewstate to Excel by
changing the response contenttype and i get only the data without the
formatting information. any
suggestions???.
thanks
SA
I have a datagrid bound to a datasource. I am generating the columns
in the datagrid dynamically. I override the loadviewstate method and
recreate the datagrid columns once again. In this way my viewstate is
maintained. I have a Export to Excel option which exports the data in
the grid as it is to Excel. I make use to the viewState to get this
data into Excel.
Now some of the rows in my datagrid have a different style
(they are bold). This information is not maintained in the viewstate.
I am exporting the information available in the viewstate to Excel by
changing the response contenttype and i get only the data without the
formatting information. any
suggestions???.
thanks
SA