<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:] Use JavaScript to Refresh an ASP.NET AJAX UpdatePanel?</title><link>http://www.asp.net</link><pubDate>Mon, 09 May 2011 18:49:10 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Use JavaScript to Refresh an ASP.NET AJAX UpdatePanel?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33620" rel="self" type="application/rss+xml" /><item><title>Comment Posted by jntiwari9</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 02 Apr 2008 00:28:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001686</guid><description><![CDATA[ <p>This is a good tutorials for the beginners. I am so gratefule to you.</p> <p>J.N.Tiwari</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jntiwari9.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Thu, 03 Apr 2008 18:21:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001687</guid><description><![CDATA[ <p>Thanks - Glad it helped !</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jeppe_r</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 07 May 2008 17:15:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001688</guid><description><![CDATA[ <p>Hmm, does this work in a asp.net 3.5?</p> <p>I have tried it, when I write it, it doesnt work, it do &quot;standard&quot; postback all the time..</p> <p>Have tried yours code, but stil standard postback, with the javascript..</p> <p>You dont have any good reason, that I cant make it?</p> <p> - otherwise good movies :)</p> <p>Best regards Jeppe</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jeppe_r.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shocker-z</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 14 May 2008 11:28:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001689</guid><description><![CDATA[ <p>Thanks for the tutorial.</p> <p>jeppe_r you sure your using a standard HTML button? and not an ASP button? as a standard HTML button cant cause a standard postback as far as i&#39;m aware.</p> <p>Regards</p> <p>Liam</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/shocker-z.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Wardgp</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 11 Jun 2008 18:21:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001690</guid><description><![CDATA[ <p>I built this one using VS2008 and I can get all the asp and HTML buttons to work correctly, but when I substitute UpdatePanel1 for Button1 in the javascript nothing happens. &#160;Anybody get this to work using the asp.net 3.5? &#160;Think jeppe_r might have something.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Wardgp.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by saketh</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Mon, 04 Aug 2008 11:52:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001691</guid><description><![CDATA[ <p>Joe,</p> <p>It works great when there is one updatepanel. But I have two update panels in my page and this method seems to refresh both of them. I tried both the methods you suggested and both of them give me the same results.</p> <p>Any suggestions?</p> <p>Regards,</p> <p>Saketh</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/saketh.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jerkham</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 06 Aug 2008 16:51:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001692</guid><description><![CDATA[ <p>Great video, this is exactly what I was looking for. &#160;Haven&#39;t tried it out yet, but hopefully I have better results than some of these other guys leaving comments.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jerkham.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Thu, 07 Aug 2008 11:26:55 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001693</guid><description><![CDATA[ <p>Good tutorial...thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by RoninB</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Tue, 21 Oct 2008 15:47:25 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001694</guid><description><![CDATA[ <p>I have a delima with a panel being used with ModalPopupExtender, and within that panel... there are labels that i would like to show visible true or false base on the button click event that is also tied both ModalPopupExtender and UpdatePanel and ConfirmButtonExtender, though the panel have the behavior of ModalPopupExtender and ConfirmButtonExtender, it does not update. i had put the Page_Load event the logic to set the properties. Please help, would i need to include a ToolkitScriptManager or somethingelse?</p> <p>Thanks in advance.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/RoninB.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by hashad</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Tue, 21 Oct 2008 18:07:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001695</guid><description><![CDATA[ <p>i like this tutorial...thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/hashad.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chad101</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Tue, 02 Dec 2008 12:30:56 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001696</guid><description><![CDATA[ <p>I got this example to work with .net 3.5 but it does not work if you have a master page? Is there something you need to do different with a master page?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/chad101.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sd123</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Thu, 19 Mar 2009 23:52:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001697</guid><description><![CDATA[ <p>great tutorial...helped me a lot. Thanks!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sd123.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jvlamy</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 13 May 2009 04:03:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001698</guid><description><![CDATA[ <p>Same as chad101. the Dave Ward&#39;s UpdatePanel Method doesn&#39;t work with a Master Page. _doPostBack(&#39;UpdatePanel1&#39;, &#39;&#39;); fires a full PostBack with a master page and a partial postback without.</p><p>Someone know why ?</p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jvlamy.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jvlamy</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 13 May 2009 04:07:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001699</guid><description><![CDATA[ <p>OK. this works with or without Master Page:</p><p>  prm._doPostBack(&#39;&lt;%= UpdatePanel1.ClientID %&gt;&#39;, &#39;&#39;);</p><p></p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jvlamy.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by shilpa.gururao</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Thu, 21 May 2009 10:39:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001700</guid><description><![CDATA[ <p>Good job. Thanks for sharing.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/shilpa.gururao.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jimboyoo</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 03 Jun 2009 19:35:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001701</guid><description><![CDATA[ <p>prm._doPostBack gives me errors.  </p><p></p><p>Dave Ward encourages the use of __doPostBack() instead.  It works great for me.  See here:</p><p></p><p><a rel="nofollow" href="http://encosia.com/2007/07/13/easily-refresh-an-updatepanel-using-javascript/" target="_blank">encosia.com/</a></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/jimboyoo.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ImDaFrEaK</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Sun, 02 Aug 2009 19:43:31 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001702</guid><description><![CDATA[ <p>No offense b/c this guy is obviously a lot more knowledgable than me but I do know a great deal about programming but I now nothing about this control.  This tutorial was far too long and drug out with very little information on the basic crap i need to make this work for me.  I just want to know where to get the properties ect for the animations and all. I want a basic hello world example then build on it.  He started with all the high end and went backwards and never reached simple.  Im still kinda lost with the control and can&#39;t use it.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ImDaFrEaK.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by bubunburhanudin</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Thu, 13 Aug 2009 09:06:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001703</guid><description><![CDATA[ <p>ok</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/bubunburhanudin.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by lleveille</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Fri, 11 Sep 2009 16:05:15 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001704</guid><description><![CDATA[ <p>No matter what I do I get a standard postback</p><p>prm._doPostBack(&#39;&lt;%= UpdatePanel1.ClientID %&gt;&#39;, &#39;&#39;);</p><p>didn&#39;t work for me at all.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/lleveille.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Vournelis</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Sun, 29 Nov 2009 16:44:22 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001705</guid><description><![CDATA[ <p>Great tutorial, thank you!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Vournelis.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by haithamalani</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 30 Dec 2009 09:36:11 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001706</guid><description><![CDATA[ <p>Really you are amazing man,Thank you very much</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/haithamalani.jpg?forceidenticon=false&amp;dt=635047236600000000&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-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Mon, 25 Jan 2010 13:42:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001707</guid><description><![CDATA[ <p>nice</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Aamir%20Hasan.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by maximus392</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Mon, 07 Jun 2010 03:44:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000008991</guid><description><![CDATA[ <p>great stuff man.. thx</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/maximus392.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by mark_richman</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Wed, 04 Aug 2010 12:41:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009746</guid><description><![CDATA[ <p>This does not work.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/mark_richman.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by houmanca</title><link>http://www.asp.net/web-forms/videos/aspnet-ajax/how-do-i-use-javascript-to-refresh-an-aspnet-ajax-updatepanel</link><pubDate>Mon, 09 May 2011 18:49:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013116</guid><description><![CDATA[ <p>Hi Joe,</p><p></p><p>It was very helpful video thank you!</p><p>I have a scnario a little bit diffrent; what if we have a dynamic control and and with many dynamic buttons? , so button will be dynamically created ( all buttons are inside web control ) so </p><p>1- lets call a content page from master page button</p><p>2- ContentPlaceHolder load a page and PlaceHolder inside the aspx content page load a control dynamically but before loading this web control pass a value to the web control (example pass 5 )</p><p>3- web control creat 5 button reading and names come from enumerated collection.</p><p></p><p>we are good so far.. :)</p><p></p><p>now ... :( ... we want to call update panel based on your scenario, ( the problem is button names are dynamically generated , would you please tell me how we can use your method based on this scenario?</p><p></p><p>Thank you so much.</p><p></p><p>Houman</p><p></p><p></p><p>help dynamically loaded web control two create five buttons</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/houmanca.jpg?forceidenticon=false&amp;dt=635047236600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>