I have a gridview, in which the width of each column is dynamic and depends on the dataset. I need to get the width of each column for use in my PDF exporter, but column / cell width is always '0', probably because I have not set width property.
Is there any way around this?
I do not know a way to do this code completely, if anyone else I I would love to hear about it
I have to add a hidden area on a page in a possible way of completing it and then using Javascript to populate the hidden area with the provided column width Will happen. It is assuming that you are displaying a standard ASPX page and providing users the option to export PDFs. Your export code can then use to hide the value of the hidden fields to make PDF layouts. It can be a bit of a frustration in this way but it should work
Is there a better option in someone else's expectation ?? |
Comments
Post a Comment