PDF Export field width

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 191

PDF Export field width

Post by crash »

Where would I set the field width for PDF export.

All my columns export as the same width so when a field has more chracters than the coumn width it wraps.
I've tried field width in aspm, also size and max length.


MichaelG
User
Posts: 1192

Post by MichaelG »

You can try adding the following codes in Page_Load server event:

ExportColumnWidths = new float[] { 100, 200, etc... }; // Set column widths


crash
User
Posts: 191

Post by crash »

This does not work, I've tried every possible combination. incl with 100f, 200f etc....
Is there another server event to try.
Thanks


MichaelG
User
Posts: 1192

Post by MichaelG »

Try Table_Load or Page_Exporting


Post Reply