Tuesday, January 20, 2009

GoogleAds sense Issue

The google Ads Script is not properly working when we using the Ajax Control toolkit and it's throw the following error

System.FormatException: String was not recognized as a valid DateTime

Ajax Atlas Date Parsing class Override the Google Ads Date Parse Class.Now we can solve the issue using the following snipset

  Date.__cyril_parse = Date.parse;
Date.parse = function(s){
try {
return Date.__cyril_parse(s);
} catch (e){
var d = new Date(s);
if (s) {
return s;
} else {
throw e;
}
}

Click to see full details http://forums.asp.net/p/1055158/1501276.aspx
}

No comments: