<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>Client Side Web Development</title><link>http://forums.asp.net/130.aspx</link><description>Client-side programming discussions, including CSS, DHTML, JScript/Javascript, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=18&amp;c=16" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: XMLHttpRequest causing page refresh</title><link>http://forums.asp.net/thread/3273594.aspx</link><pubDate>Fri, 03 Jul 2009 13:31:50 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273594</guid><dc:creator>Bigsby</dc:creator><author>Bigsby</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273594.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3273594</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;On the money, m.&lt;/p&gt;</description></item><item><title>Re: XMLHttpRequest causing page refresh</title><link>http://forums.asp.net/thread/3268782.aspx</link><pubDate>Wed, 01 Jul 2009 11:55:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3268782</guid><dc:creator>mpaterson</dc:creator><author>mpaterson</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3268782.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3268782</wfw:commentRss><description>&lt;p&gt;If this was causing a javascript error then it makes sense. &amp;nbsp;The execution of the javascript would stop and prevent &amp;quot;return false&amp;quot; from being called.&lt;/p&gt;</description></item><item><title>Re: XMLHttpRequest causing page refresh</title><link>http://forums.asp.net/thread/3268578.aspx</link><pubDate>Wed, 01 Jul 2009 10:31:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3268578</guid><dc:creator>Bigsby</dc:creator><author>Bigsby</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3268578.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3268578</wfw:commentRss><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;I spent 2 hours yesterday around this and it took me 2 minutes today to realize that the JSON string in the responseText wasn&amp;#39;t correctly built. Why was this causing a page refresh? Beats me.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;</description></item><item><title>Re: XMLHttpRequest causing page refresh</title><link>http://forums.asp.net/thread/3267389.aspx</link><pubDate>Tue, 30 Jun 2009 19:57:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267389</guid><dc:creator>mpaterson</dc:creator><author>mpaterson</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267389.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3267389</wfw:commentRss><description>&lt;p&gt;Have you tried using an HTML button instead of an asp.net button?&amp;nbsp; asp.net buttons have &amp;quot;__doPostBack&amp;quot; which is what&amp;#39;s causing the postback.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>XMLHttpRequest causing page refresh</title><link>http://forums.asp.net/thread/3267202.aspx</link><pubDate>Tue, 30 Jun 2009 18:09:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267202</guid><dc:creator>Bigsby</dc:creator><author>Bigsby</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267202.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3267202</wfw:commentRss><description>&lt;p&gt;Here it goes...maybe on of you has been here before.&lt;/p&gt;
&lt;p&gt;Scenario:&lt;/p&gt;
&lt;p&gt;-I have an ASP&amp;nbsp;Web Application with a MasterPage that holds an iframe.&lt;/p&gt;
&lt;p&gt;-On this MasterPage I have an UserControl that holds some ASP buttons that trigger, directly from javascript, some XMLHttpRequests to a ASPX for information refreshing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Symptom:&lt;/p&gt;
&lt;p&gt;- Each time the request is complete, the whole page gets refreshed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tests already made:&lt;/p&gt;
&lt;p&gt;- Return false, in every method involving the pre and pos-request.&lt;/p&gt;
&lt;p&gt;- Set UseSubmitBehavior to false in the buttons.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item></channel></rss>