﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Strange looking pdf export (WebGrid 6.0)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Strange-looking-pdf-export-WebGrid-60/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Strange looking pdf export (WebGrid 6.0)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Strange-looking-pdf-export-WebGrid-60/</link><pubDate>Fri, 21 Aug 2009 06:29:13 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Staffan,&lt;/p&gt;
&lt;p&gt;I have seen your pdf and sample that you've sent in our developer network. Could you please repost them also in this forum? :-) &lt;/p&gt;
&lt;p&gt;The mess layout could be caused by your WebGrid Column itself because it has so many columns. When there are many columns, the layout would be resized automatically based on the paper size. &lt;/p&gt;
&lt;p&gt;So, you have some options to customize your layout such as configure your font size, paper size, etc. You can also hide unnecessary columns you don't want to export.&lt;br /&gt;&lt;br /&gt;e.g, with this code in Export event below:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span face="Calibri" size="3"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;        ((ISNet.WebUI.WebGrid.WebGridColumn)(((ISNet.WebUI.ISCollectionBase)(e.Table.Columns)).All[0])).Visible = false;
&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt; &lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;Unfortunately, I could not replicate your mess layout in my sample. But my sample will show you how I customize my own export layout. Hope this helps.&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;Regards,&lt;/p&gt;</description></item><item><title>Strange looking pdf export (WebGrid 6.0)</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Strange-looking-pdf-export-WebGrid-60/</link><pubDate>Thu, 20 Aug 2009 14:23:50 GMT</pubDate><dc:creator>staffan.eriksson@semita.se</dc:creator><description>&lt;p&gt;When exporting my grid to a pdf file the headers are shown on two rows where the last row is barely readable. Many of the columns get very small width which has the effect that the numbers are split on two or three rows which looks horrible.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;There are pretty many columns in the grid and it looks like the export function tries to fit them all in one page, that's why it looks very strange.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;How can this problem be solved?&lt;br /&gt;&lt;br /&gt;// Staffan E.&lt;/p&gt;</description></item></channel></rss>