﻿<?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 - Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</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>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Thu, 23 Feb 2012 02:09:53 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hello Frank,&lt;/p&gt;&lt;p&gt;Can your provide us with some details? Also, what is the problem that you currently have?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Wed, 22 Feb 2012 16:00:06 GMT</pubDate><dc:creator>qafrank1</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Arun,&lt;/p&gt;
&lt;p&gt;Have you implemented your final solution for this problem?&lt;/p&gt;
&lt;p&gt;I am attempting a similar build, but have been unsuccessful with my solution.&lt;/p&gt;
&lt;p&gt;Any tips you could offer would be greatly appreciated.&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Fri, 05 Feb 2010 02:37:15 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi Arun,&lt;/p&gt;&lt;p&gt;Yes, it will load RequestedRows. E.g uses for top for first load. I don't quite undestand what you mean with "loses the previous set of data loaded". Does the previous data dissapear from WebGrid or something? I think the previous data would still remain.&lt;/p&gt;
&lt;p&gt;Also, if you chaned VirtualPageSize into 2000, of course it will take some time to load. We should not compare the performance with load 50 records.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Thu, 04 Feb 2010 06:26:30 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Thanks Handy&lt;/p&gt;&lt;p&gt;One thing i noticed is each and evreytime you scroll, it loads data from 1 to RequestedRows (as it uses top)&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;is their anyway we can specify the Range say 1- 100 first time and then 101-200&lt;/p&gt;
&lt;p&gt;I did try this way, but since it goes to the IntializeDatasource for each call, it loses the previous set of data loaded.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Is this possible, this will elimate the no. of records binding each time, also in the sample i gave, change the VirtualPageSize to 2000, you will see that after 3 scrolls it takes double the time for each load.&lt;/p&gt;
&lt;p&gt;Change the SQL Squery to the following &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;WITH lo AS ( SELECT ROW_NUMBER() OVER (ORDER BY ID) AS ROW, * FROM lotable WHERE parent_learning_object IS NULL) &lt;br /&gt;SELECT * FROM lo WHERE Row BETWEEN " &amp; _from &amp; " AND " &amp; _to &amp; ";"&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Arun&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Wed, 03 Feb 2010 20:56:13 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi Arun,&lt;/p&gt;&lt;p&gt;Yes, apply the latest hotfixes are required. Otherwise, you will face a total load records like before. I am sure you can see the great performance now. Please let me know if you have another question.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Wed, 03 Feb 2010 07:19:55 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Thanks Handy&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;That explains well, &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot guys, the solution you offered work fine. We are able to load large volume of data.&lt;/p&gt;
&lt;p&gt;I will reply to the thread once we implement a final solution, so it will be useful for others who are looking for something simillar&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Arun&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Tue, 02 Feb 2010 22:24:35 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi Arun,&lt;/p&gt;&lt;p&gt;Have you updated into the hotfix &lt;a href="http://www.intersoftpt.com/Community/WebGrid/Tab-ForceNoEdit/" target="_blank"&gt;l&lt;/a&gt;ink that i refer to you before (see previous posts) ? I tested your sample and it worked well in here. FYI, I only changed the connection string on your sample. As i described at previous posts, you need also to apply the latest WebGrid and WebUIFramework hotfix. Here, I decided to attach them in there. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Tue, 02 Feb 2010 14:19:07 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi Handy,&lt;/p&gt;&lt;p&gt;I have done exactly what you said in the sample, still i am not getting the result as expected&lt;/p&gt;
&lt;p&gt;Please the attached zip file, which has 2 Pages.&lt;/p&gt;
&lt;p&gt;Default7.aspx - i used with self reference in this page,  i cant load more records but Self Reference Works.&lt;br /&gt;&lt;/p&gt;
&lt;p style=""&gt;Default8.aspx - i used without self reference,  i can load more records but Self Reference doesn't Works&lt;/p&gt;
&lt;p style=""&gt;In both case i am using the following layout setting&lt;/p&gt;
&lt;p style=""&gt;&amp;lt;LayoutSettings VirtualPageSize="50" PagingMode="VirtualLoad" AutoHeight="true" SizeHeightBy="-6" VirtualLoadMode="Custom"&amp;gt;&lt;br /&gt; &amp;lt;/LayoutSettings&amp;gt;&lt;/p&gt;
&lt;p style=""&gt;Can you please advice us what's wrong in the sample i attached&lt;/p&gt;
&lt;p style=""&gt;FYI - i have attched an image.doc, in that you can see the output generated&lt;/p&gt;
&lt;p style=""&gt;You can also use the same database we submitted in the thread to replicate this issue.&lt;br /&gt;&lt;/p&gt;
&lt;p style=""&gt;Thanks&lt;/p&gt;
&lt;p style=""&gt;Arun&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Mon, 01 Feb 2010 20:57:18 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi Arun,&lt;/p&gt;&lt;p&gt;Have you tested out my suggestion and detail codes? &lt;br /&gt;Actually, what you described SelfReference LoadOnDemand performance in ComponentArt is what our WebGrid can also do. &lt;br /&gt;As I said before, you need to handle it in InitializeDataSource for parent. &lt;br /&gt;You can also customize in IntializeSelfReferenceDataSource for child.&lt;/p&gt;
&lt;p&gt;For example, I modified the sample you sent me. It work great and the performance was awesome (&lt;b&gt;2-3sec&lt;/b&gt;). &lt;br /&gt;If you did not look at my code and suggestion in detail, it would take nearly &lt;b&gt;15-20&lt;/b&gt;min. &lt;/p&gt;
&lt;p&gt;FYI, please also download the hotfix based on the link that I gave you at previous post. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Mon, 01 Feb 2010 10:33:42 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Guys,&lt;/p&gt;&lt;p&gt;This is not working as expected, i have used VirtualLoad="Custom" but doesn't work with selfreference.&lt;/p&gt;
&lt;p&gt;Also if we have more than 100 rows in an Inner child in self reference, how does the grid know to load the next 50 children (when VirtualPageSize="50")&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Just to give you guys a &lt;span lang="undefined" style="font-size: 11pt; line-height: 115%; font-family: &amp;quot;calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;;"&gt;statistics &lt;/span&gt;which i did today, i download the ComponentArt Grid and used the same datasource with selfreference and LoadOndemand enabled, the grid loaded in &lt;strong&gt;8 sec &lt;/strong&gt;for the first 50 records. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The same datasource for the first 50 records Intersoft Grid took nearly &lt;strong&gt;15-20 min&lt;/strong&gt;.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;All we are doing is to load first 50 parent records from a pool of 36310 records and when you click the &amp;#43; it will fire another query to get the child and bind the record.&lt;/p&gt;
&lt;p&gt;Are you guys saying the grid can't handle this. if so we seriously need to change 25 - 30 pages, which is as good as redesigning the application UI.&lt;/p&gt;
&lt;p&gt;I would like to know what is happening in the grid for these many records and we really see this as an issue in the grid failing to Load Large data in Self Reference.&lt;/p&gt;
&lt;p&gt;I can't explain more how important this fix is for us.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Arun&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Virtual Load Mode for LargeData</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Virtual-Load-Mode-for-LargeData/</link><pubDate>Wed, 13 Jan 2010 07:26:52 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Virtual Load</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have big performance issue with grid having more than 70k  rows.&lt;/p&gt;
&lt;p&gt;We are using PagingMode="VirtualLoad" .I read from the grid help file that we can improve the performance my using either VirtaulLoadMode ="custom"   or "LargeData".&lt;/p&gt;
&lt;p&gt;I will first ask few question on "LargerData"&lt;/p&gt;
&lt;p&gt;-------------------------------------&lt;/p&gt;
&lt;p&gt;I tried this in a grid with 80k rows ,it loaded quickly.If I apply filter,sort ,is the filter and sort applied only to the initial loaded records(50) or to to full 80krows?Also I noticed the &lt;span style="font-size: 13px"&gt;InitializeDataSource event is triggered each time&amp;nbsp;when it tries to load the records and the Stored proecdure is executed each time.Is this the default behaviour or any solution for this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I read in your site that the grid 'export' will export only the loaded records.Can i put the code to change the VirtualLoadMode="default" and rebinddatasource in the 'Export' event of the grid?&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Another issue is&amp;nbsp;grid performace is very low in a grid(10k rows) having selfreference with Load on demand when using VirtualLoadMode="LargeData"?Any solution to improve selefreference grid performace for 'largedata'?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Question on 'Custom'&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;----------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;I read about 'custom'.The problem is I am not using &lt;strong&gt;ISDataSource &lt;/strong&gt;to bind the grid.So how will I use&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;SelectCount ,Select Method to retrive the records ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I bind the grid in the InitilizeDatasource event using &lt;span style="font-size: 13px"&gt;e.DataSource =mytable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px"&gt;Melbin
&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>