Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 24, 2012 10:32 PM by Lesthad_mk
May 22, 2012 04:17 AM|LINK
This time I'm facing some presentation problems at the moment to export a nested GridView to Excel. Here is the screenshot of the GridView in my ASP.Net page.
But at the moment to export a excel the presentation of the GridView change
If you saw the images above you had noticed that the way how the GridView was exported to excel changed.
Does any one has any clue or a good tutorial how to do this?
May 22, 2012 04:29 AM|LINK
Try for these links
Reply me for any issues..
May 22, 2012 06:35 PM|LINK
Thanks for your help. I've check the links you posted. Some of them I've already saw. The fisrt one have a extra code that I tried to implement however I coulnd't to export the Nested GridView in the correct way.
I guess I will need to implement a method to proccess the html generated for the RenderControl() method of the GridView I aadapt it in the proper way whit the corresponding styles and data
May 24, 2012 07:21 AM|LINK
Have a look at these two links with code:
May 24, 2012 10:32 PM|LINK
Thanks for the links. I had already the first one. I tried and achieved to implement the same. I might be it will sound a little crazy but I got the same result of commented in a previos post. The detail of exporting a Nested Gridview with some CSS styles
where in the fact that at the moment to render the Grids to an HTML table it was not render in thre proper way. Some extra <td> tags appeared.
At the end of the day, I chose to do a kind of method to interate for the records in the main a nested gridview rows and have a more custom table to export to excel in the proper way. I mean, how the original request was done.
Anyway thanks each of you to help me in this