<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Why ASP.NET AJAX UpdatePanels are dangerous</title>
	<atom:link href="http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/feed/" rel="self" type="application/rss+xml" />
	<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/</link>
	<description>ASP.NET and AJAX code, ideas, and examples.</description>
	<lastBuildDate>Wed, 10 Mar 2010 23:47:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kenntrix</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-38052</link>
		<dc:creator>kenntrix</dc:creator>
		<pubDate>Wed, 17 Feb 2010 05:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-38052</guid>
		<description>thanks. this helps me a lot.</description>
		<content:encoded><![CDATA[<p>thanks. this helps me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37925</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Mon, 01 Feb 2010 09:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37925</guid>
		<description>Hi Dave,
Is there a way to optionally add/remove triggers? When selecting a new item in a DDL, I want to do a full postback to clear my grid. I don&#039;t, however want to do a full postback if the grid is empty. 

I thought I could query the visible property, but it&#039;s not set in Init, and by Load time it appears to be too late to add stuff.</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
Is there a way to optionally add/remove triggers? When selecting a new item in a DDL, I want to do a full postback to clear my grid. I don&#8217;t, however want to do a full postback if the grid is empty. </p>
<p>I thought I could query the visible property, but it&#8217;s not set in Init, and by Load time it appears to be too late to add stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ice Chelsea</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37600</link>
		<dc:creator>Ice Chelsea</dc:creator>
		<pubDate>Thu, 17 Dec 2009 03:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37600</guid>
		<description>Thank you, it helped a lot. It came out that the problem was in the web.config file, in fact the problem was in me, I never created an Ajax enabled web site when starting the project, I was always choosing a normal asp.net website. Thanks again, especially for the fast response...</description>
		<content:encoded><![CDATA[<p>Thank you, it helped a lot. It came out that the problem was in the web.config file, in fact the problem was in me, I never created an Ajax enabled web site when starting the project, I was always choosing a normal asp.net website. Thanks again, especially for the fast response&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37597</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Wed, 16 Dec 2009 19:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37597</guid>
		<description>Here&#039;s the website project I used when writing this post:  http://encosia.com/source/UpdatePanels-dangerous.zip</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the website project I used when writing this post:  <a href="http://encosia.com/source/UpdatePanels-dangerous.zip" rel="nofollow">http://encosia.com/source/UpdatePanels-dangerous.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ice Chelsea</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37595</link>
		<dc:creator>Ice Chelsea</dc:creator>
		<pubDate>Wed, 16 Dec 2009 17:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-37595</guid>
		<description>Need help!
 I&#039;ve been using asp.net in the last couple of months and what I (and i suppose all of you) hate the most is the reloading of the whole page when something has to be changed. So I want to do some things using ajax (which i have no expirience in). But so far I haven&#039;t been able to make any kind of client-side - server-side communication. I&#039;ve tried the example on this page but I can&#039;t get it to work either. When I press the web method update button nothing happens. Will somebody PLEASE post an example of the client-side (Default.aspx) and server-side (Default.aspx.cs) files, but not just part of the code i need the whole code, including the using directives. 
I have Visual Studio 2005 installed, .NET Framework 3.5 SP1 and ASP.NET 2.0 Ajax Extensions 1.0. 
I need the most simple example (a single string to be transfered between the two files) and since I can&#039;t make it work anyhow, it would be greatly appriciated if you give me all of the steps to do it. All I have is a blank Default.aspx page in the environment i mentioned :). 
Thanks in advance, and again, any help would be appriciated
p.s. Can all this work withoud a WebService?</description>
		<content:encoded><![CDATA[<p>Need help!<br />
 I&#8217;ve been using asp.net in the last couple of months and what I (and i suppose all of you) hate the most is the reloading of the whole page when something has to be changed. So I want to do some things using ajax (which i have no expirience in). But so far I haven&#8217;t been able to make any kind of client-side &#8211; server-side communication. I&#8217;ve tried the example on this page but I can&#8217;t get it to work either. When I press the web method update button nothing happens. Will somebody PLEASE post an example of the client-side (Default.aspx) and server-side (Default.aspx.cs) files, but not just part of the code i need the whole code, including the using directives.<br />
I have Visual Studio 2005 installed, .NET Framework 3.5 SP1 and ASP.NET 2.0 Ajax Extensions 1.0.<br />
I need the most simple example (a single string to be transfered between the two files) and since I can&#8217;t make it work anyhow, it would be greatly appriciated if you give me all of the steps to do it. All I have is a blank Default.aspx page in the environment i mentioned :).<br />
Thanks in advance, and again, any help would be appriciated<br />
p.s. Can all this work withoud a WebService?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajax “Instan” di ASP.NET bagai pedang bermata dua &#171; Tempat Untuk Berbagi</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36928</link>
		<dc:creator>Ajax “Instan” di ASP.NET bagai pedang bermata dua &#171; Tempat Untuk Berbagi</dc:creator>
		<pubDate>Sat, 31 Oct 2009 16:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36928</guid>
		<description>[...] Namun demikian dari pengalaman penulis, kita harus bijak dalam memasang script  UpdatePanel ke dalam halaman ASPX. Walhasil bukan halaman bertambah cepat saat merequest, tapi malah bertambah lambat. Selidik punya selidik ternyata UpdatePanel ini bukanlah &#8220;Real AJAX&#8221;. Begitu penulis mengungkapkannya. Karena walaupun menggunakan obyek XMLHttpRequest, UpdatePanel masih menggunakan actual HTTP post dan response untuk melakukan partial postback. Penjelasan silakan lihat di sini. [...]</description>
		<content:encoded><![CDATA[<p>[...] Namun demikian dari pengalaman penulis, kita harus bijak dalam memasang script  UpdatePanel ke dalam halaman ASPX. Walhasil bukan halaman bertambah cepat saat merequest, tapi malah bertambah lambat. Selidik punya selidik ternyata UpdatePanel ini bukanlah &#8220;Real AJAX&#8221;. Begitu penulis mengungkapkannya. Karena walaupun menggunakan obyek XMLHttpRequest, UpdatePanel masih menggunakan actual HTTP post dan response untuk melakukan partial postback. Penjelasan silakan lihat di sini. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36802</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Mon, 19 Oct 2009 14:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36802</guid>
		<description>You&#039;re probably running into the ClientID issue that comes with naming containers.  Instead of Label1, that Label is going to be rendered as something like ctl00_Label1 in a master page.

See &lt;a href=&quot;http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/&quot; rel=&quot;nofollow&quot;&gt;this post for several ways to mitigate that ClientID issue&lt;/a&gt;. Make sure to read the comments too.  Lots of other good ideas in there.</description>
		<content:encoded><![CDATA[<p>You&#8217;re probably running into the ClientID issue that comes with naming containers.  Instead of Label1, that Label is going to be rendered as something like ctl00_Label1 in a master page.</p>
<p>See <a href="http://encosia.com/2007/08/08/robust-aspnet-control-referencing-in-javascript/" rel="nofollow">this post for several ways to mitigate that ClientID issue</a>. Make sure to read the comments too.  Lots of other good ideas in there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj Pravin</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36799</link>
		<dc:creator>Pankaj Pravin</dc:creator>
		<pubDate>Mon, 19 Oct 2009 08:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-36799</guid>
		<description>Hi Dave,

I have a problem in applying above. It works fine without master pages, but when we put master page an error comes &quot;Microsoft JScript runtime error: &#039;null&#039; is null or not an object&quot;

Thanks
Pankaj</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I have a problem in applying above. It works fine without master pages, but when we put master page an error comes &#8220;Microsoft JScript runtime error: &#8216;null&#8217; is null or not an object&#8221;</p>
<p>Thanks<br />
Pankaj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [ASPNET] Evitar problemas de performance con los UpdatePanel &#171; Jesús Bosch</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35736</link>
		<dc:creator>[ASPNET] Evitar problemas de performance con los UpdatePanel &#171; Jesús Bosch</dc:creator>
		<pubDate>Sat, 04 Jul 2009 09:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35736</guid>
		<description>[...] JSON: http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/ [...]</description>
		<content:encoded><![CDATA[<p>[...] JSON: <a href="http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/" rel="nofollow">http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery Secrets with Dave Ward - Craig Shoemaker</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35619</link>
		<dc:creator>jQuery Secrets with Dave Ward - Craig Shoemaker</dc:creator>
		<pubDate>Mon, 22 Jun 2009 17:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35619</guid>
		<description>[...] Why ASP.NET AJAX UpdatePanels are dangerous [...]</description>
		<content:encoded><![CDATA[<p>[...] Why ASP.NET AJAX UpdatePanels are dangerous [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hennessey</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35182</link>
		<dc:creator>Paul Hennessey</dc:creator>
		<pubDate>Sun, 03 May 2009 18:31:54 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35182</guid>
		<description>Thanks Dave - I haven&#039;t looked into jQuery yet, I&#039;ll check it out. 

As far as the ViewState is concerned, I think that I might be able to get away without doing any postbacks.

We&#039;ll see!</description>
		<content:encoded><![CDATA[<p>Thanks Dave &#8211; I haven&#8217;t looked into jQuery yet, I&#8217;ll check it out. </p>
<p>As far as the ViewState is concerned, I think that I might be able to get away without doing any postbacks.</p>
<p>We&#8217;ll see!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Ward</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35175</link>
		<dc:creator>Dave Ward</dc:creator>
		<pubDate>Sat, 02 May 2009 22:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35175</guid>
		<description>You could definitely use the result of a page method to modify a ListView&#039;s elements on the client-side.  That&#039;s especially easy if you&#039;re using jQuery.

However, you would need to keep in mind that the ListView&#039;s ViewState wouldn&#039;t be updated as you modified its HTML elements.  If your scenario included client-side updates &lt;em&gt;and&lt;/em&gt; postbacks affecting/inspecting the ListView, you&#039;d need to be careful and keep that issue in mind.</description>
		<content:encoded><![CDATA[<p>You could definitely use the result of a page method to modify a ListView&#8217;s elements on the client-side.  That&#8217;s especially easy if you&#8217;re using jQuery.</p>
<p>However, you would need to keep in mind that the ListView&#8217;s ViewState wouldn&#8217;t be updated as you modified its HTML elements.  If your scenario included client-side updates <em>and</em> postbacks affecting/inspecting the ListView, you&#8217;d need to be careful and keep that issue in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Hennessey</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35164</link>
		<dc:creator>Paul Hennessey</dc:creator>
		<pubDate>Thu, 30 Apr 2009 20:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-35164</guid>
		<description>Firstly, thanks for keeping this informative and courteous thread going so long.

I&#039;ve been wrapping a ListView in an UpdatePanel, and have run up against some of the performance problems described above. Is it possible to use the PageMethod techniques you&#039;ve described to amend elements in a ListView?</description>
		<content:encoded><![CDATA[<p>Firstly, thanks for keeping this informative and courteous thread going so long.</p>
<p>I&#8217;ve been wrapping a ListView in an UpdatePanel, and have run up against some of the performance problems described above. Is it possible to use the PageMethod techniques you&#8217;ve described to amend elements in a ListView?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mis problemas con ASP.NET AJAX &#171; Gerardo Contijoch</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-34760</link>
		<dc:creator>Mis problemas con ASP.NET AJAX &#171; Gerardo Contijoch</dc:creator>
		<pubDate>Sun, 05 Apr 2009 15:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-34760</guid>
		<description>[...] que tengo es el uso de los UpdatePanels. Si no se saben usar, pueden resultar muy peligrosos. Éste post muestra un ejemplo de ello. Creo que una de las características más peligrosas de los [...]</description>
		<content:encoded><![CDATA[<p>[...] que tengo es el uso de los UpdatePanels. Si no se saben usar, pueden resultar muy peligrosos. Éste post muestra un ejemplo de ello. Creo que una de las características más peligrosas de los [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using jQuery Inside A DotNetNuke Module UpdatePanel &#124; //refactor this</title>
		<link>http://encosia.com/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-34268</link>
		<dc:creator>Using jQuery Inside A DotNetNuke Module UpdatePanel &#124; //refactor this</dc:creator>
		<pubDate>Sun, 01 Mar 2009 01:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/#comment-34268</guid>
		<description>[...] module in DotNetNuke.  I know using UpdatePanels is considered a bad thing (see related post at Encosia for an explanation), but in this case I had tight timelines, and the improved function I felt [...]</description>
		<content:encoded><![CDATA[<p>[...] module in DotNetNuke.  I know using UpdatePanels is considered a bad thing (see related post at Encosia for an explanation), but in this case I had tight timelines, and the improved function I felt [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
