This is a migrated thread and some comments may be shown as answers.

Print Gridview with HTML like formatted cells

1 Answer 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andreas Haeusler
Top achievements
Rank 2
Andreas Haeusler asked on 19 May 2016, 07:59 PM

Is there a way to preserve a cells HTML like formatting when printing a gridview? Printing and exporting to PDF both show the markup instead of the formatted text.

 

see attached files

 

kind regards,

Andreas

1 Answer, 1 is accepted

Sort by
0
Accepted
Andreas Haeusler
Top achievements
Rank 2
answered on 20 May 2016, 08:09 AM

Ok,

 

found it myself. I have to do the formatting again in the PrintCellFormatting-event.

Tags
GridView
Asked by
Andreas Haeusler
Top achievements
Rank 2
Answers by
Andreas Haeusler
Top achievements
Rank 2
Share this question
or