﻿<?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 - Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</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>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Mon, 08 Nov 2010 21:32:55 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;Thank you,you are so kind to me!&lt;br /&gt;&lt;strong&gt;It is very helpful!&lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley1.gif" /&gt; &lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Mon, 08 Nov 2010 21:27:25 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please check our reference sample, &lt;strong&gt;ClassicPagingUsingCustomDataRetrieval.aspx&lt;/strong&gt;, in the local WebGridSamples project or check the live sample at the following link, &lt;a href="http://live.intersoftpt.com/cs/WebGrid/ClassicPagingUsingCustomDataRetrieval.aspx"&gt;&lt;span style="color: #0000ff"&gt;http://live.intersoftpt.com/cs/WebGrid/ClassicPagingUsingCustomDataRetrieval.aspx&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to perform custom data retrieval for classic paging, we need to set the value of &lt;strong&gt;PagingLoadMode&lt;/strong&gt; property to Custom. To handle the logic that performs custom data retrieval, we need to have a select method with three parameters signature: &lt;em&gt;startRow&lt;/em&gt;, &lt;em&gt;maximumRows&lt;/em&gt;, and &lt;em&gt;sortExpression&lt;/em&gt;. To learn more about custom data retrieval codes, please take a look at App_Code\dsNorthwind_Extended.cs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;We also provide more articles that discuss about this topic, please kindly check WebGrid 7 documentation and search for the title of the following topic:&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Custom Paging&lt;/li&gt;&lt;li&gt;Walkthrough: Implementing Custom Paging using ObjectDataSource&lt;/li&gt;&lt;li&gt;Walkthrough: Implementing Custom Paging using ISDataSource&lt;/li&gt;&lt;li&gt;How-to: Implement Custom Load-On-Demand Paging&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Sun, 07 Nov 2010 21:54:22 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;Could you please show me a demo about using &lt;strong&gt;paging&amp;nbsp; stored procedure&lt;/strong&gt; with Webgrid ??&lt;/p&gt;
&lt;p&gt;Like:&lt;/p&gt;&lt;pre&gt;&amp;lt;script type="text/javascript"&amp;gt;

Load()
{
 //init PagingSliderBar
}
getFirstPage()
{
//call C# code  with paging

}
getNextPage()
{

//call C# code  with paging
}
getPreviousPage()
{

//call C# code  with paging
}
getLastPage()
{

//call C# code  with paging
}
    &amp;lt;/script&amp;gt;

&lt;/pre&gt;

&lt;p&gt;&lt;span class="postusername"&gt;&lt;span style="color: #003663; font-size: 15px"&gt;thank you,&lt;/span&gt;&lt;a class="contentlink" href="http://www.intersoftpt.com/Community/Users/yudi/"&gt;&lt;span style="color: #165fa7; font-size: 15px"&gt;Yudi &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Sun, 07 Nov 2010 20:59:18 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;To load large data into client’s browser may cause performance issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to get better performance when render large data, we need to split the data into small pieces. Combining paging, grouping, load on demand, and client-binding feature of WebGrid might helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Fri, 05 Nov 2010 05:29:31 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;Anyway,it can solve my problem.&lt;br /&gt;If I do not install .netframework3.5,I will can not use Linq.&lt;br /&gt;Could you give me the other suggestion for &lt;strong&gt;loading large datas?&lt;br /&gt;&lt;/strong&gt;&lt;span class="postusername"&gt;thank you,&lt;a class="contentlink" href="http://www.intersoftpt.com/Community/Users/yudi/"&gt;&lt;span style="color: #165fa7; font-size: 15px"&gt;Yudi &lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Thu, 04 Nov 2010 02:52:32 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Although WebGrid supports large table binding, we often recommend customers to load and retrieve data efficiently by either using predefined filter or asked user to enter some search criteria before requesting data. Best design &amp;amp; pattern in application architecture is always our first priority and suggestion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;There are articles and sample that you can read which discuss about how to improve WebGrid’s performance. Some of the articles are listed down here.&lt;/span&gt;&lt;/p&gt;
&lt;ul style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;&lt;a href="http://intersoftpt.wordpress.com/2008/04/04/faster-than-fastest-aspnet-grid/"&gt;Faster than “fastest ASP.NET Grid”&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://intersoftpt.wordpress.com/2008/04/07/faster-than-fastest-aspnet-grid-part-ii/"&gt;Faster than “fastest ASP.NET Grid” – part II&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://intersoftpt.wordpress.com/2009/09/21/rich-features-in-low-client-footprint/"&gt;Rich features in low client footprint&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The sample can be checked at &lt;a href="http://live.intersoftpt.com/cs/WebGrid/HyperFastWebGridWithLINQtoSQL.aspx"&gt;here&lt;/a&gt;.&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 helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load large datas issue</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Load-large-datas-issue/</link><pubDate>Wed, 03 Nov 2010 04:53:33 GMT</pubDate><dc:creator>qq397472251</dc:creator><category>WebGrid</category><category>load</category><category>VirtualLoad</category><description>&lt;p&gt;&lt;strong&gt;My table have about 350000 records,I have bind the table to Webgrid.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I use "PagingMode="&lt;strong&gt;VirtualLoad&lt;/strong&gt;"  VirtualPageSize="50" VirtualLoadMode="LargeData" ",but when the page Load data every time ,it cost about 8 seconds!&lt;/p&gt;
&lt;p&gt;It is so &lt;strong&gt;slowly&lt;/strong&gt;! &lt;strong&gt;Any one can help me???&lt;/strong&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True"
                Width="300px" DataSourceID="SqlDataSource1"&amp;gt;
                &amp;lt;LayoutSettings PagingMode="VirtualLoad"  VirtualPageSize="50" VirtualLoadMode="LargeData" AllowAddNew="Yes" AllowDelete="Yes" AllowEdit="Yes"&amp;gt;
                &amp;lt;/LayoutSettings&amp;gt;
                &amp;lt;RootTable DataKeyField="id"&amp;gt;
                    &amp;lt;Columns&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="id" DataMember="id" 
                            Name="id" Width="100px" DataType="System.Int64"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="name" DataMember="name" 
                            Name="name" Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                        &amp;lt;ISWebGrid:WebGridColumn Caption="pwd" DataMember="pwd" 
                            Name="pwd" Width="100px"&amp;gt;
                        &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
                    &amp;lt;/Columns&amp;gt;
                &amp;lt;/RootTable&amp;gt;
            &amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
</description></item></channel></rss>