<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx</link><description>Here is an interesting problem we ran into recently. The customer had a large GridView that was being updated by AJAX inside on UpdatePanel and seeing bad performance. The reason is that the Client-Side Javascript has to walk the entire DOM of the Content</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>discount furniture &amp;raquo; Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952331</link><pubDate>Mon, 15 Sep 2008 13:01:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952331</guid><dc:creator>discount furniture &amp;raquo; Slow performance of a GridView inside an UpdatePanel</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://informationsfunnywallpaper.cn/?p=5314"&gt;http://informationsfunnywallpaper.cn/?p=5314&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952556</link><pubDate>Mon, 15 Sep 2008 16:36:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952556</guid><dc:creator>Quoo</dc:creator><description>&lt;p&gt;Alternative: Stop using the bloody monolith that is the GridView, and stop being lazy and implementing AJAX in performant oriented sites with an UpdatePanel. &lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952580</link><pubDate>Mon, 15 Sep 2008 17:04:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952580</guid><dc:creator>angry developer</dc:creator><description>&lt;p&gt;do not bring 5 million records and bind to a grid. It has been #1 problem with Datagrid. m$ft never suggest to use filter and possible search capabity to bring small dataset back &lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952681</link><pubDate>Mon, 15 Sep 2008 18:13:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952681</guid><dc:creator>redsquare</dc:creator><description>&lt;P&gt;surely the best option is to return json and just change the td contents rather than rebuild the thing everytime - also save bucket loads of k down the wire&lt;/P&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952831</link><pubDate>Mon, 15 Sep 2008 19:24:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952831</guid><dc:creator>Vlad</dc:creator><description>&lt;P&gt;Use paging, for instance 100 rows inside update panel with 10 columns happens in under 2 secs.&lt;/P&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8952924</link><pubDate>Mon, 15 Sep 2008 20:50:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952924</guid><dc:creator>Ajay</dc:creator><description>&lt;p&gt;Just use custom pagination when you bind it to your gridview. &amp;nbsp;So that way you're not fetching every single record upon page change.&lt;/p&gt;
&lt;p&gt;You can do this with all databases.&lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8953505</link><pubDate>Tue, 16 Sep 2008 08:33:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8953505</guid><dc:creator>kamii47</dc:creator><description>&lt;p&gt;What could i do if I have update panel in Master Page.&lt;/p&gt;
&lt;p&gt;And One of My content Page have such type of Gridview?&lt;/p&gt;
&lt;p&gt;[I know about custom pagination but i can't do that here]&lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#8953735</link><pubDate>Tue, 16 Sep 2008 13:44:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8953735</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;You could change the sql query to limit the data coming back at that level. &amp;nbsp;Or you could find another means for updating it, like caching on the client-side and not using AJAX at all for example.&lt;/p&gt;
</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#9001474</link><pubDate>Thu, 16 Oct 2008 08:51:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9001474</guid><dc:creator>anurag chauhan</dc:creator><description>&lt;p&gt;set updatepanel property updatemode=&amp;quot;conditional&amp;quot; &lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#9412985</link><pubDate>Wed, 11 Feb 2009 19:41:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9412985</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;In case anyone else gives this a shot. I was getting an &amp;quot;object doesn’t support this property&amp;quot; error on this line:&lt;/p&gt;
&lt;p&gt;Sys.WebForms.PageRequestManager.getInstance().add_BeginRequest(clearDisposableItems)&lt;/p&gt;
&lt;p&gt;_BeginRequest should be _beginRequest:&lt;/p&gt;
&lt;p&gt;Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(clearDisposableItems);&lt;/p&gt;
&lt;p&gt;It was driving me nuts for a good 10 minutes.&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#9413009</link><pubDate>Wed, 11 Feb 2009 20:06:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9413009</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Miguel,&lt;/p&gt;
&lt;p&gt;Thanks for catching that. &amp;nbsp;I have updated to post to reflect that.&lt;/p&gt;
</description></item><item><title>re: Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx#9462531</link><pubDate>Fri, 06 Mar 2009 15:45:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9462531</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;It might sound obvious but if your using IE, make sure that you turn off Script Debbuging in your browser's settings. It was taking 80secs to load a table because of that !&lt;/p&gt;
&lt;p&gt;Simple, obvious, but I didn't spot that straight away !&lt;/p&gt;
&lt;p&gt;Won't fix DOM loading time issue but measures will be realistic though, and I might save you one or two heart attacks ;-)&lt;/p&gt;</description></item></channel></rss>