﻿<?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 - Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</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>Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</link><pubDate>Fri, 01 Jul 2016 02:47:11 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to hear that the problem has been resolved now.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</link><pubDate>Thu, 30 Jun 2016 20:08:42 GMT</pubDate><dc:creator>dbar@diasfalisis.gr</dc:creator><description>&lt;p&gt;&lt;span&gt;The problem was found, it was in our code. The component works fine!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Many thanks for helping!&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Dimitris&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</link><pubDate>Mon, 27 Jun 2016 06:56:48 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I created a simple WebGrid based on your scenario. The grid columns are created dynamically at PrepareDataBinding server-side event.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;string[] Profile1_Root = { "OrderID", "ProductID", "UnitPrice", "Quantity", "Discount" };
    
protected void WebGrid1_PrepareDataBinding(object sender, DataSourceEventArgs e)
{
    if (!IsPostBack)
        CreateStructure();
}

private void CreateStructure()
{
    foreach (string col in Profile1_Root)
    {
        WebGrid1.RootTable.Columns.Add(new WebGridColumn(col, col, col));
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;After grid rendered, the root table is grouped by &lt;strong&gt;OrderID&lt;/strong&gt; column (where this column is of &lt;strong&gt;int&lt;/strong&gt; type column). The reported problem is not reproducible when try to export this to html.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For your information, I'm using following configuration in my local end to test the problem.&lt;/span&gt;&lt;/p&gt;
&lt;ul style="color: #1f497d;"&gt;&lt;li&gt;WebGrid 10.0.7200.24&lt;/li&gt;&lt;li&gt;WebUI.NET Framework 3.0.5000.975&lt;/li&gt;&lt;li&gt;IE 11 browser&lt;/li&gt;&lt;li&gt;CannotFindNumericColumn.aspx sample page (enclosed as attachment)&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You may modify my sample if you find that the sample is not close to your scenario/code.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</link><pubDate>Thu, 23 Jun 2016 14:36:22 GMT</pubDate><dc:creator>dbar@diasfalisis.gr</dc:creator><description>&lt;p&gt;Still haven't solved it. Still no response here...&lt;/p&gt;</description></item><item><title>Error message during export when grid is grouped by a numeric column</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-message-during-export-when-grid-is-grouped-by-a-numeric-column/</link><pubDate>Fri, 17 Jun 2016 14:23:24 GMT</pubDate><dc:creator>dbar@diasfalisis.gr</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;We use WebGrid 9.0.7200 in our project. All columns are created dynamically at runtime based on the current setup of our application.&lt;/p&gt;&lt;p&gt;When no grouping is applied or when we group by a &lt;b&gt;character &lt;/b&gt;value column, export works fine. We have a problem when we group by a numeric column and then try to export. The message we get is:&lt;/p&gt;&lt;p&gt;Cannot find column 'acolumn'&amp;nbsp;&lt;/p&gt;&lt;p&gt;where acolumn is the (numeric) column the grid is grouped by. As I mentioned above, it works ok when the grouped column is not numeric.&lt;/p&gt;&lt;p&gt;Any help would be appreciated,&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Dimitris&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>