﻿<?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 - More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</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>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Fri, 30 Oct 2009 00:23:17 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>This issue has been reported by another customer and a bug report has been submitted for the developer. If there is any update regarding this issue, we will inform you.</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Thu, 29 Oct 2009 14:32:15 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;More information.  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;1.  The text export seems to mess up if there are more than 50-60 records, possible overflow problem?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;2.  If you convert a column to a TemplatedColumn, the problems I am experiencing withthe ExporttGrid show up.  I have modified your sample if you want to see it, but all you need to do is create a TemplateColumn and then in the InitializeRow event modify the template text.  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'll send a sample if you need one.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;This is my last hope, if I can't get export to run then looks like I need to find a replacement.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Thu, 29 Oct 2009 08:16:31 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;Hi Glenn,&lt;/p&gt;
&lt;p&gt;Ok that takes care of the problem with the Address filed, but now run the Sample called "Exporting".  First don't touch anything and export to text.  Look at Product ID 59 and notice that the end of the Product Name "ult" is on a seperate line.  Now apply your code to it (note I am using the VB samples) to Product Name and run the page and export.  Notice 59 is correct now but Product ID 34 and 70 are messed up.  There are no comma's in this data.  Now apply the above code to the only other string field "QuantityPerUnit", re run and export, and see other fields are messed up.  This appears to only occur with Text.  What other data maybe causing this?&lt;/p&gt;
&lt;p&gt;In my Data, it appers to be Dates that are causing the problem.&lt;/p&gt;</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Thu, 29 Oct 2009 00:03:43 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;The text file issue occurs because there is a &lt;i&gt;,&lt;/i&gt; character in the Address column while we are using &lt;i&gt;,&lt;/i&gt;  as a column separator. In order to remedy this issue you could enclosed the Address data in a &lt;i&gt;" " &amp;nbsp;&lt;/i&gt;during Export server side event&lt;i&gt;&amp;nbsp;&lt;/i&gt;in order to set the data as a single column data. Here is the snippet:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;protected void WebGrid1_Export(object sender, ISNet.WebUI.WebGrid.ExportEventArgs e){
    foreach (WebGridRow wgRow in e.Table.Rows)
    {
        wgRow.Cells.GetNamedItem("Address").Value = "\"" &amp;#43; wgRow.Cells.GetNamedItem("Address").Value &amp;#43; "\"";
        wgRow.Cells.GetNamedItem("Address").Text = "\"" &amp;#43; wgRow.Cells.GetNamedItem("Address").Text &amp;#43; "\"";
    }
}&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Thu, 29 Oct 2009 00:03:35 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;The text file issue occurs because there is a &lt;i&gt;,&lt;/i&gt; character in the Address column while we are using &lt;i&gt;,&lt;/i&gt;  as a column separator. In order to remedy this issue you could enclosed the Address data in a &lt;i&gt;" " &amp;nbsp;&lt;/i&gt;during Export server side event&lt;i&gt;&amp;nbsp;&lt;/i&gt;in order to set the data as a single column data. Here is the snippet:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;protected void WebGrid1_Export(object sender, ISNet.WebUI.WebGrid.ExportEventArgs e){
    foreach (WebGridRow wgRow in e.Table.Rows)
    {
        wgRow.Cells.GetNamedItem("Address").Value = "\"" &amp;#43; wgRow.Cells.GetNamedItem("Address").Value &amp;#43; "\"";
        wgRow.Cells.GetNamedItem("Address").Text = "\"" &amp;#43; wgRow.Cells.GetNamedItem("Address").Text &amp;#43; "\"";
    }
}&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Wed, 28 Oct 2009 08:44:19 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;Anything more on this?  This is still happening with the SP1 Refresh.&lt;/p&gt;</description></item><item><title>More Export problems</title><link>http://www.intersoftsolutions.com/Community/WebGrid/More-Export-problems/</link><pubDate>Mon, 26 Oct 2009 08:11:04 GMT</pubDate><dc:creator>John.Bonin@dot.gov</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; There appears to be a big bug in the Export functions (use any, client, server and any type).  Using the webUI samples for 2009 R1 SP1 run the sample "ProgrammaticExportServerSide", select the "Export Grid" button in the Grid tray, select Excel and view the Excel listing.  Now take TEXT and export.  Compare the 2 outputs and they are not the same!  Excel has extra records with only an address field with all other columns blank.  Then look at the Text notice that some records have portion of the text that belongs to other columns in the record above.  I have attached 2 samples, Excel and Text of the Northwind export.  You can run the Client Side script on the ProgrammaticExportClientSide, running it first for Excel and then Text and notice the same problems.&lt;/p&gt;&lt;pre&gt;As an example:  Here is the Excell export &lt;/pre&gt;&lt;pre&gt;VINET	Vins et alcools Chevalier	Paul Henriot	Accounting Manager	59 rue de l'Abbaye	Reims		51100	France	26.47.15.10	26.47.15.11
&lt;/pre&gt;

&lt;p&gt;Here is the Text export:&lt;/p&gt;&lt;pre&gt;VINET,Vins et alcools ,Paul Henriot,Accounting Manager,59 rue de l'Abbaye,Reims, ,51100,France,26.47.15.10,26.47.15.11&lt;/pre&gt;
&lt;p&gt;You can change the file extension of the text file to csv and open it in Excel and then compare the 2 sheets and there are big differences.  &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>