<?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>ASP.NET AJAX Discussion and Suggestions</title><link>http://forums.asp.net/1007.aspx</link><description>This forum is the place for ASP.NET AJAX 'getting started' questions, general questions that don't fit in one of the other forums about AJAX </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1559924.aspx</link><pubDate>Thu, 01 Feb 2007 23:26:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1559924</guid><dc:creator>lkempe</dc:creator><author>lkempe</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1559924.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1559924</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;No it is not an issue with the RTM so you don't need to include.&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1559910.aspx</link><pubDate>Thu, 01 Feb 2007 23:18:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1559910</guid><dc:creator>Sharp-Developer.NET</dc:creator><author>Sharp-Developer.NET</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1559910.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1559910</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it still an issue?&lt;/p&gt;
&lt;p&gt;I'm developing &lt;a href="http://adsenseasp.net/"&gt;http://AdSenseASP.NET/&lt;/a&gt; - web controls to display Google AdSense ad units e.g. AdUnit, LinkUnit, ReferralUnit and wonder do I need include this code to my output JScript or it's already fixed?&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;More about me at &lt;a href="http://sharp-developer.net/CV/"&gt;http://sharp-developer.net/CV/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1501276.aspx</link><pubDate>Mon, 18 Dec 2006 22:43:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1501276</guid><dc:creator>fmarguerie</dc:creator><author>fmarguerie</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1501276.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1501276</wfw:commentRss><description>&lt;p&gt;Merci Cyril !&lt;/p&gt;&lt;p&gt;It's an important problem and I'm sure Microsoft will realize that it needs to be fixed quickly.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1500032.aspx</link><pubDate>Mon, 18 Dec 2006 00:47:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1500032</guid><dc:creator>CyrilCS</dc:creator><author>CyrilCS</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1500032.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1500032</wfw:commentRss><description>&lt;p&gt;Exact, here is the code I wrote in my blog post&lt;/p&gt;&lt;pre class=coloredcode&gt;Date.__cyril_parse = Date.parse; 
Date.parse = function(s){
    &lt;span class=kwd&gt;try&lt;/span&gt; {
        &lt;span class=kwd&gt;return&lt;/span&gt; Date.__cyril_parse(s);
    } &lt;span class=kwd&gt;catch&lt;/span&gt; (e){
        var d = Date._jsParse(s);
        &lt;span class=kwd&gt;if&lt;/span&gt; (d) {
            &lt;span class=kwd&gt;return&lt;/span&gt; d; 
        } &lt;span class=kwd&gt;else&lt;/span&gt; {
            &lt;span class=kwd&gt;throw&lt;/span&gt; e;
        } 
    }
}&lt;/pre&gt;&lt;pre class=coloredcode&gt;don't understand why it's not one I copy here.&lt;/pre&gt;&lt;pre class=coloredcode&gt;Thnks for your correction &lt;img src="http://forums.asp.net/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;/pre&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1500029.aspx</link><pubDate>Mon, 18 Dec 2006 00:45:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1500029</guid><dc:creator>CyrilCS</dc:creator><author>CyrilCS</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1500029.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1500029</wfw:commentRss><description>exact</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499996.aspx</link><pubDate>Sun, 17 Dec 2006 23:35:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499996</guid><dc:creator>dblock</dc:creator><author>dblock</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499996.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499996</wfw:commentRss><description>&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.asp.net/Themes/default/images/icon-quote.gif" /&gt; &lt;strong&gt;CyrilCS:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;oups my solution was a little bugged and when I blogged this issue I found a new solution. The Atlas has saved the old Date.parse method in Date._jsParse why don't use it ? &lt;/p&gt;&lt;pre class=coloredcode&gt;Date.__cyril_parse = Date.parse; 
Date.parse = function(s){
    &lt;span class=kwd&gt;try&lt;/span&gt; {
        &lt;span class=kwd&gt;return&lt;/span&gt; Date.__cyril_parse(s);
    } &lt;span class=kwd&gt;catch&lt;/span&gt; (e){
        var d = Date._jsParse;
        &lt;span class=kwd&gt;if&lt;/span&gt; (d) {
            &lt;span class=kwd&gt;return&lt;/span&gt; d; 
        } &lt;span class=kwd&gt;else&lt;/span&gt; {
            &lt;span class=kwd&gt;throw&lt;/span&gt; e;
        } 
    }
}&lt;/pre&gt;
&lt;p&gt;This snippet is better than&amp;nbsp;the first one and&amp;nbsp;it would works in all cases. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;Wait, isn't this returning the function, shouldn't it return d(s) instead?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499981.aspx</link><pubDate>Sun, 17 Dec 2006 22:56:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499981</guid><dc:creator>CyrilCS</dc:creator><author>CyrilCS</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499981.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499981</wfw:commentRss><description>&lt;p&gt;oups my solution was a little bugged and when I blogged this issue I found a new solution. The Atlas has saved the old Date.parse method in Date._jsParse why don't use it ? &lt;/p&gt;&lt;pre class=coloredcode&gt;Date.__cyril_parse = Date.parse; 
Date.parse = function(s){
    &lt;span class=kwd&gt;try&lt;/span&gt; {
        &lt;span class=kwd&gt;return&lt;/span&gt; Date.__cyril_parse(s);
    } &lt;span class=kwd&gt;catch&lt;/span&gt; (e){
        var d = Date._jsParse;
        &lt;span class=kwd&gt;if&lt;/span&gt; (d) {
            &lt;span class=kwd&gt;return&lt;/span&gt; d; 
        } &lt;span class=kwd&gt;else&lt;/span&gt; {
            &lt;span class=kwd&gt;throw&lt;/span&gt; e;
        } 
    }
}&lt;/pre&gt;
&lt;p&gt;This snippet is better than&amp;nbsp;the first one and&amp;nbsp;it would works in all cases. &lt;/p&gt;
&lt;p&gt;For a little more explanation you can&amp;nbsp;have a look at this : &lt;a href="http://AtlasetGoogleAdsense:bugaveclaméthodeDate.parse"&gt;Atlas et Google Adsense : bug avec la méthode Date.parse&lt;/a&gt;&amp;nbsp;(in French)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499950.aspx</link><pubDate>Sun, 17 Dec 2006 21:28:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499950</guid><dc:creator>lkempe</dc:creator><author>lkempe</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499950.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499950</wfw:commentRss><description>Merci Cyril!!! It is perfect now. Thanks</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499869.aspx</link><pubDate>Sun, 17 Dec 2006 18:37:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499869</guid><dc:creator>dblock</dc:creator><author>dblock</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499869.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499869</wfw:commentRss><description>&lt;p&gt;Merci Cyril,&lt;/p&gt;
&lt;p&gt;This works. The bug definitely needs a fix for RTM, a lot of people will get upset if their google ads stop working. And I got to learn JavaScript for real! Maybe I can then do more exciting things with &lt;strike&gt;atlas&lt;/strike&gt; ajax.&lt;/p&gt;
&lt;p&gt;-dB.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499843.aspx</link><pubDate>Sun, 17 Dec 2006 18:01:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499843</guid><dc:creator>CyrilCS</dc:creator><author>CyrilCS</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499843.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499843</wfw:commentRss><description>&lt;p&gt;Hum, Effectively&amp;nbsp;I thinks there is a bug here. &lt;/p&gt;
&lt;p&gt;Try to add the following code before adding the google script. &lt;/p&gt;&lt;pre class=coloredcode&gt;            Date.__cyril_parse = Date.parse; 
            Date.parse = function(s){
                &lt;span class=kwd&gt;try&lt;/span&gt; {
                    &lt;span class=kwd&gt;return&lt;/span&gt; Date.__cyril_parse(s);
                } &lt;span class=kwd&gt;catch&lt;/span&gt; (e){
                    var d = &lt;span class=kwd&gt;new&lt;/span&gt; Date(s); 
                    &lt;span class=kwd&gt;if&lt;/span&gt; (s) {
                        &lt;span class=kwd&gt;return&lt;/span&gt; s; 
                    } &lt;span class=kwd&gt;else&lt;/span&gt; {
                        &lt;span class=kwd&gt;throw&lt;/span&gt; e;
                    } 
                }
            }
&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;I think google use the parse functions but internally Atlas overrides this methods and use theses templates. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;-&amp;nbsp;&amp;nbsp;formats&amp;nbsp;{...}&amp;nbsp;Object&lt;br /&gt;&amp;nbsp;&amp;nbsp;[0]&amp;nbsp;"MMMM dd"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[1]&amp;nbsp;"yyyy MMMM"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[2]&amp;nbsp;"MM/dd/yyyy"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[3]&amp;nbsp;"HH:mm"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[4]&amp;nbsp;"dddd, dd MMMM yyyy"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[5]&amp;nbsp;"HH:mm:ss"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[6]&amp;nbsp;"dddd, dd MMMM yyyy HH:mm:ss"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[7]&amp;nbsp;"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[8]&amp;nbsp;"yyyy'-'MM'-'dd'T'HH':'mm':'ss"&amp;nbsp;String&lt;br /&gt;&amp;nbsp;&amp;nbsp;[9]&amp;nbsp;"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"&amp;nbsp;String&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My code snippets save the&amp;nbsp;Atlas Date.parse methods&amp;nbsp;override the Date.parse methods, call the saved Date.parse methods in a try catch block and if there is an error call the constructor of the Date object. It works for your sample but I don't know if google overrides this methods to. &lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499831.aspx</link><pubDate>Sun, 17 Dec 2006 17:30:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499831</guid><dc:creator>dblock</dc:creator><author>dblock</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499831.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499831</wfw:commentRss><description>&lt;p&gt;I did some more research. The undefined error comes from the error handler itself (the "C" function). The error handler is called because Date.parse fails - that's the real issue. Date.parse looks busted to me, but I don't think we have the source for this - it's embedded in System.Web.Extensions.dll (?).&lt;/p&gt;
&lt;p&gt;Try:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Date.parse(new Date().toGMTString())&lt;/p&gt;
&lt;p&gt;Throws a Sys.FormatException. &lt;/p&gt;
&lt;p&gt;This looks like a bug to me. Anyone from the MS.AJAX team could please look at this?&lt;/p&gt;</description></item><item><title>Re: RC: google ads broken</title><link>http://forums.asp.net/thread/1499682.aspx</link><pubDate>Sun, 17 Dec 2006 08:37:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499682</guid><dc:creator>lkempe</dc:creator><author>lkempe</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499682.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499682</wfw:commentRss><description>&lt;p&gt;I have exactly the same issue!!! And currently not found any solution.&lt;/p&gt;
&lt;p&gt;If I remove the google ads script then I don't have any issue. With it I have an issue like you are describing!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>RC: google ads broken</title><link>http://forums.asp.net/thread/1499508.aspx</link><pubDate>Sat, 16 Dec 2006 20:31:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1499508</guid><dc:creator>dblock</dc:creator><author>dblock</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1499508.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1007&amp;PostID=1499508</wfw:commentRss><description>&lt;p&gt;Switched from Beta to RC, google ads are now broken.&lt;/p&gt;
&lt;p&gt;Stack:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;A&amp;nbsp;JScript&lt;br /&gt;&amp;nbsp;&amp;nbsp;C&amp;nbsp;JScript&lt;br /&gt;&amp;nbsp;&amp;nbsp;Date$_parse&amp;nbsp;JScript&lt;br /&gt;&amp;gt;&amp;nbsp;Date$parse&amp;nbsp;JScript&lt;br /&gt;&amp;nbsp;&amp;nbsp;E&amp;nbsp;JScript&lt;br /&gt;&amp;nbsp;&amp;nbsp;JScript anonymous function&amp;nbsp;JScript&lt;br /&gt;&amp;nbsp;&amp;nbsp;JScript global code&amp;nbsp;JScript&lt;br /&gt;&lt;font size=2&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;Looks like it's trying to parse a date among other things, but it may be a red herring: b.google_last_modified_&lt;/font&gt;&lt;font size=2&gt;time=Date.parse(a.lastModified)/1000. The value of&amp;nbsp;a.lastModified&amp;nbsp;is "12/16/2006 15:27:28"&amp;nbsp;and trying to evaluate Date.parse in the debugger&amp;nbsp;throws a Sys.FormatException - the string is not recognized as a valid date.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;font size=2&gt;You can run by google ads to test:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;&amp;lt;script type="text/javascript"&amp;gt;&amp;lt;!--&lt;br /&gt;google_ad_client = "pub-9729078709462697";&lt;br /&gt;google_ad_width = 120;&lt;br /&gt;google_ad_height = 600;&lt;br /&gt;google_ad_format = "120x600_as";&lt;br /&gt;google_ad_type = "text_image";&lt;br /&gt;google_ad_channel ="";&lt;br /&gt;google_color_border = "AACCEE";&lt;br /&gt;google_color_bg = "AACCEE";&lt;br /&gt;google_color_link = "000000";&lt;br /&gt;google_color_url = "666666";&lt;br /&gt;google_color_text = "333333";&lt;br /&gt;//--&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&lt;br /&gt;src="&lt;a href="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;http://pagead2.googlesyndication.com/pagead/show_ads.js&lt;/a&gt;"&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;Ideas?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=2&gt;Thx&lt;br /&gt;&lt;/font&gt;&lt;font size=2&gt;dB.&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>