<rss version="2.0" 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"><channel><title>How Do I: Customize Error Handling for the ASP.NET AJAX UpdatePanel</title><link>http://www.asp.net</link><pubDate>Mon, 14 Feb 2011 12:46:55 GMT</pubDate><generator>umbraco</generator><description>Comments for How Do I: Customize Error Handling for the ASP.NET AJAX UpdatePanel</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33639" rel="self" type="application/rss+xml" /><item><title>Comment Posted by abinashbishoyi</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Sat, 19 Dec 2009 05:37:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002017</guid><description><![CDATA[ <p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/abinashbishoyi.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by benjamin pirih</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Tue, 22 Dec 2009 22:02:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002018</guid><description><![CDATA[ <p>If your using a master page you will need to address the control like so..  As the control will be renamed in your content template..</p><p></p><p>        function OnEndRequest(sender, args) {</p><p>                   var error = args.get_error();</p><p></p><p>                   if (error != undefined) {</p><p>                       var label = $get(&#39;&lt;%=lblScriptError.ClientID%&gt;&#39;);</p><p>                       label.outerText = error.message;</p><p>                       args.set_errorHandled(true);</p><p>                   }</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/benjamin%20pirih.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Aamir Hasan</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Sun, 27 Dec 2009 14:40:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002019</guid><description><![CDATA[ <p>any other way to do this</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Aamir%20Hasan.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by anup1252000</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Mon, 28 Dec 2009 03:09:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002020</guid><description><![CDATA[ <p>Great video</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/anup1252000.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by tariq.net</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Mon, 12 Apr 2010 12:34:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000002021</guid><description><![CDATA[ <p>nice job</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/tariq.net.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by agix</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Wed, 15 Dec 2010 17:25:48 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011208</guid><description><![CDATA[ <p>great tutorial</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/agix.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rockyy</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-customize-error-handling-for-the-aspnet-ajax-updatepanel</link><pubDate>Mon, 14 Feb 2011 12:46:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012046</guid><description><![CDATA[ <p>and what about code behind?? will this work on Content Page&#39;s?-</p><p>protected void ScriptManager1_AsyncPostBackError(object sender, AsyncPostBackErrorEventArgs e)</p><p>    {</p><p>        ScriptManager1.AsyncPostBackErrorMessage = &quot;Something bad happened. We&#39;ll do better next time.&quot; +</p><p>            Environment.NewLine + e.Exception.Message;</p><p>    }</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rockyy.jpg?forceidenticon=false&amp;dt=635071742400000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>