﻿<?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 - Export + PagingLoadMode="Custom" </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export--PagingLoadModeCustom/</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>Export + PagingLoadMode="Custom" </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export--PagingLoadModeCustom/</link><pubDate>Thu, 05 Nov 2009 22:33:33 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Custom paging is also known as load on demand technique. Custom paging can be implemented using ObjectDataSource or ISDataSource. In general, custom paging implementation requires three important steps:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;ol&gt;
&lt;li&gt;Set &lt;i style="mso-bidi-font-style: normal"&gt;EnablePaging&lt;/i&gt; of the data sourcecontrol to True.&lt;/li&gt;
&lt;li&gt;Provides a method for &lt;i style="mso-bidi-font-style: normal"&gt;Select&lt;/i&gt;. This method requires three parameters: startRow, maximumRows, and sortExpression.&lt;/li&gt;
&lt;li&gt;Provides a method for &lt;i style="mso-bidi-font-style: normal"&gt;SelectCount&lt;/i&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The heart of the custom paging is to provide custom logic for retrieving rows according to the current view of the WebGrid. This done via custom codes in the Select method. For more detail information, please check on &lt;a href="http://support.intersoftpt.com/Docs/WebGrid/7.0.7200/Custom Paging.html"&gt;&lt;span style="color: #0000ff"&gt;this&lt;/span&gt;&lt;/a&gt; page.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;By default, the classic paging will use automatic data retrieval mode. In automatic mode, WebGrid determines the total datasource rows based on the given datasource and display the current page appropriately. When uses automatic data retrieval, by setting the value of “PagingExportMode” property to “ExportAllData” will cause WebGrid to export all data (not current page only).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;When uses custom paging, it is the datasource control that determines the amount of rows that will be given to WebGrid, thus when exporting on the first load will only export first page.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;*Please try to move the last page after the grid loaded; and then try to export the rows. It will export all data, since the datasource control has provides entire rows to WebGrid.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Export + PagingLoadMode="Custom" </title><link>http://www.intersoftsolutions.com/Community/WebGrid/Export--PagingLoadModeCustom/</link><pubDate>Mon, 02 Nov 2009 02:54:33 GMT</pubDate><dc:creator>pchanez</dc:creator><description>&lt;p&gt;I have an issue to export data when being in PagingLoadMode="Custom". Even if I set the PagingExportMode = "ExportAllData", the grid only export the current page.&lt;/p&gt;
&lt;p&gt;Is there a way to export all the data in this mode ? &lt;/p&gt;</description></item></channel></rss>