﻿<?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 - Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</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>Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</link><pubDate>Tue, 03 Jan 2017 03:31:47 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><description>&lt;blockquote&gt;&lt;p&gt;&lt;span&gt;Thank For the response Yudi. The Solution Provided is working.&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to know that the approach helps.&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>Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</link><pubDate>Mon, 02 Jan 2017 14:35:21 GMT</pubDate><dc:creator>sreeji.vijayan@pcctg.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;Thank For the response Yudi. The Solution Provided is working.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</link><pubDate>Thu, 15 Dec 2016 08:05:46 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><description>&lt;blockquote&gt;&lt;p&gt;&lt;span&gt;Do we have any update on the above ticket?&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Sorry for the delay in sending this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The ExportAllData will not work if VirtualLoadMode is set to Custom or LargeData. For such scenario, you might want to try this approach: re-creating the table that will be exported by utilizing OnExport server-side event of WebGrid.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;WebGrid has OnExport server-side event which allows you to use your own exporting codes or module to handle exporting functionality.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I managed to export all data by modifying WebGridRowCollection such as shown in the following snippet code (please note that following snippet code works for WebGrid's data binding performed at OnInitializeDataSource event):&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;protected void WebGrid1_Export1(object sender, ExportEventArgs e)
{
    e.Table.Rows.Clear();

    DataRowCollection rows = (e.DataSource as System.Data.DataView).ToTable().Rows;

    foreach (DataRow row in rows)
    {
        var wgRow = e.Table.CreateRow();

        foreach (WebGridColumn col in e.Table.Columns)
        {
            if (!col.IsRowChecker)
            {
                wgRow.Cells.GetNamedItem(col.Name).Value = row[col.DataMember];
                wgRow.Cells.GetNamedItem(col.Name).Text = wgRow.Cells.GetNamedItem(col.Name).Value.ToString();
            }
        }

        e.Table.Rows.Add(wgRow);
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please give it a spin and let us know how it works in your end.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</link><pubDate>Mon, 21 Nov 2016 07:46:11 GMT</pubDate><dc:creator>sreeji.vijayan@pcctg.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hello Intersoft,&lt;/p&gt;&lt;p&gt;Do we have any update on the above ticket?&lt;/p&gt;&lt;p&gt;Thank You&lt;/p&gt;</description></item><item><title>Webgrid not Exporting All the Records in virtual Mode </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-not-Exporting-All-the-Records-in-virtual-Mode/</link><pubDate>Mon, 14 Nov 2016 15:54:25 GMT</pubDate><dc:creator>sreeji.vijayan@pcctg.com</dc:creator><category>WebGrid</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;We are using Intersoft Grid Version 9.0.7200.1. We are facing an issue with Export to excel feature,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;The Export to excel feature is not exporting all the records, it is exporting only 100 rows when we set the&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;PagingMode="VirtualLoad" and VirtualPageSize="100" and&amp;nbsp;PagingExportMode="ExportAllData".&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Please let us know how to export all the records to Excel ASAP.&lt;/p&gt;&lt;p&gt;Thank You&lt;/p&gt;</description></item></channel></rss>