﻿<?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 - Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</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>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Tue, 12 Jan 2010 23:57:30 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi Staffan,&lt;/p&gt;&lt;p&gt;It seems group footer style is following the style of the WebGridColumn Cell style or Rowstyle by default and with this way, the style should be enough to reflected into WebGrid. &lt;br /&gt;For now, we don't have a property to customize style in group footer. You can request this as feature request in our product feedback. &lt;/p&gt;
&lt;p&gt;Somehow, although it is reflected in WebGrid, the group footer style is not reflected in export report. I will forward this to our developer teams about this issue. Thank you for your report.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Tue, 12 Jan 2010 09:35:27 GMT</pubDate><dc:creator>staffan.eriksson@semita.se</dc:creator><description>&lt;p&gt;I'm using this code:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;WebGrid1.RootTable.Columns.GetNamedItem(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"Amount"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).HeaderStyle.HorizontalAlign = ISNet.WebUI.HorizontalAlign.Right
WebGrid1.RootTable.Columns.GetNamedItem(&lt;/span&gt;&lt;/p&gt;
WebGrid1.RootTable.Columns.GetNamedItem(&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"Amount"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).CellStyle.HorizontalAlign = ISNet.WebUI.HorizontalAlign.RightWebGrid1.RootTable.Columns.GetNamedItem(&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;"Amount"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).FooterStyle.HorizontalAlign = ISNet.WebUI.HorizontalAlign.Right&lt;/span&gt;

&lt;p&gt;&lt;span style="font-size: 13px"&gt;It works ok except that&amp;nbsp;the group footer isn't right aligned, it's still left aligned for some reason. How can I make all rows get right aligned?&lt;br /&gt;&lt;br /&gt;// Staffan&lt;/span&gt;&lt;/p&gt;
</description></item><item><title>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Thu, 10 Sep 2009 09:58:51 GMT</pubDate><dc:creator>james</dc:creator><description>&lt;p&gt;Staffan,&lt;/p&gt;&lt;p&gt;I don't think Exporting can take account CssClass styles because CssClass is generally used in client-side, not server-side. To make it works in both client and server, you can continue using CssClass for client-side styles and add the server style programmatically in &lt;b&gt;Exporting&lt;/b&gt; event.&lt;/p&gt;
&lt;p&gt;Eg, grid.LayoutSettings.HeaderStyle.HorizontalAlign = HorizontalAlignment.Right;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Thu, 10 Sep 2009 09:03:29 GMT</pubDate><dc:creator>staffan.eriksson@semita.se</dc:creator><description>&lt;p&gt;I've found the reason why it doesn't work as expected:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;When using this code it works:&lt;br /&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&amp;lt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;CellStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;Font-Bold&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="True"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;HorizontalAlign&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="Right"&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;CellStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;HeaderStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;HorizontalAlign&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="Right"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;/&amp;gt;
&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;br /&gt;When using this code it doesn't work:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;CellStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;CssClass&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="clsGridRight"&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;CellStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;HeaderStyle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;CssClass&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;="clsGridRight"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;/&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #a31515; font-size: 13px"&gt;&lt;span style="color: #000000"&gt;clsGridRight looks like this:&lt;/span&gt;

&lt;p&gt;.clsGridRight&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;{&lt;/p&gt;&lt;/span&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;&lt;span style="color: #ff0000; font-size: 13px"&gt;text-align&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;: &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;right&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;!important&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;;&lt;p&gt;}&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000000"&gt;Do you have a solution to this problem?&lt;br /&gt;&lt;br /&gt;// Staffan E.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Wed, 09 Sep 2009 23:16:47 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Yes, It should follow the alignment of your WebGrid. In fact, It works on my sample. Please see my attachment sample and let me know whether it works at your end or not.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Alignment on exported pdf</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Alignment-on-exported-pdf/</link><pubDate>Wed, 09 Sep 2009 08:37:54 GMT</pubDate><dc:creator>staffan.eriksson@semita.se</dc:creator><description>&lt;p&gt;I was told some time ago that the alignment of data in an exported pdf file should follow the alignment of the columns in the WebGrid. &lt;br /&gt;&lt;br /&gt;I'm using WebGrid 6.0.216 but all my columns are left-aligned when exporting to a pdf even though many of them are centered or right aligned in the WebGrid.&lt;br /&gt;&lt;br /&gt;How can the alignment in an exported pdf file be changed? It looks horrible with left-aligned numbers.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;// Staffan E.&lt;/p&gt;</description></item></channel></rss>