Posted 10 September 2017, 2:35 am EST
Hello All,
I am working on an ASP.Net application. Currently using ComponentOne GridViews in them.
It renders fine and everything is cool.
Now, the functionality needed is as follows.
We have an Email button and PDF button on the page which on clicking, should be able to Email /PDF the Gridview control.
For Email, what I am planning to do is as follows:
Get the Rendered HTML from the RenderControl() method and then set this string as the body of the HTML mail I am sending.
For PDF, I am planning to do the same, get the rendered HTML and pass it to the PDF component and call the DrawHTML().
But, what I am wondering is, what will happen to the styles that are required to style the grid (color, skin styles etc..)?
Has anyone come across this situation before OR has any idea to solve this issue?
Please let me know guys.
thanks,
Shan