{"id":5759,"date":"2014-04-06T14:07:25","date_gmt":"2014-04-06T14:07:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/problem-about-microsoft-ajax-collection-of-common-programming-errors\/"},"modified":"2014-04-06T14:07:25","modified_gmt":"2014-04-06T14:07:25","slug":"problem-about-microsoft-ajax-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/06\/problem-about-microsoft-ajax-collection-of-common-programming-errors\/","title":{"rendered":"problem about microsoft-ajax-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/326a7b3e33221d28b38fb5e907c7397d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBuchannon<br \/>\n.net ajax .net-4.0 microsoft-ajax<br \/>\nRecently upgraded the entire project to .NET 4.0 but when I debug javascript (using FireBug or Developer tools for IE9) it says the javascript file MicrosoftAjax.debug.js is still version 3.5 &#8211; is this an issue?\/\/ Name: MicrosoftAjax.debug.js \/\/ Assembly: AjaxControlToolkit \/\/ Version: 3.5.40412.0 \/\/ FileVersion: 3.5.40412.2 \/\/ (c) 2010 CodePlex Foundation<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c9f91c463c43a470bfbd49c4f6312abd?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBrett Postin<br \/>\njavascript asp.net google-chrome dom microsoft-ajax<br \/>\nI have a WebForms page which is including MicrosoftAjax.debug.js (4.1.7.123) as a script resource:\/\/ Name: MicrosoftAjax.debug.js \/\/ Assembly: AjaxControlToolkit \/\/ Version: 4.1.7.123 \/\/ FileVersion: 4.1.7.0123 \/\/ (c) 2010 CodePlex FoundationOn load this script self invokes, eventually calling this function:var attachEvent = !!document.attachEvent;&#8230;function listenOnce(target, name, ieName, callback, isReadyState, isScript) {function onEvent() {if (!attachEvent || !isReadyState ||<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1abe8fd3a3b219b0ac8e8d9fd2271ca7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nkastermester<br \/>\njavascript jquery microsoft-ajax<br \/>\nI Have an odd issue with some JavaScript code (again, I hate debugging JS code). I am working on a regular table &#8211; which I fill up from a JSON call, and have added in support for some paging (sort of 2x paging I guess you could call it), sorting and some selecting of rows. Everything is working nicely &#8211; BUT when a row is DESELECTED (and deselected only) my add_navigate event gets fired twice, which results in a bit of reloading of data that is not needed &#8211; and an indication of loading that is ev<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2e458b661e4626ee900c04de0907a970?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTillito<br \/>\nasp.net javascript firefox ajaxcontroltoolkit microsoft-ajax<br \/>\nI have recently been building a website that utilizes the .NET Framework 3.5 SP1 and the AJAX Control Toolkit. The standard AJAX controls such as UpdatePanel work without problem. As soon as I add a CollapsiblePanelExtender control from the AJAXControlToolkit to the page I receive a Javascript error. (NOTE: this problem occurs on Firefox. IE works without issue.) this.dateTimeFormat is undefinedon the linethis._upperAbbrMonths = this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames);i<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/1aa48f7606f5b08595b0a0356a61e8b6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn Saunders<br \/>\njquery asp.net ajax asmx microsoft-ajax<br \/>\ni made a web function in the C# file called test it returns a simple List for testing [WebMethod(EnableSession = false)] public static List&lt;string&gt; test() {List&lt;string&gt; a = new List &lt;string&gt;() ; a.Add(&#8220;1s&#8221;);a.Add(&#8220;2s&#8221;);return a; }i tried to call this WEBMETHOD from the front end using JQUERY AJAX function Test() {$.ajax({type: &#8220;POST&#8221;,url: &#8220;Default.aspx\/test&#8221;,data: &#8220;&#8221;,contentType: &#8220;application\/json; charset=utf-8&#8221;,dataType: &#8220;json&#8221;,success: function (msg) {x = msg;$(&#8220;.resultbox&#8221;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7b7c0f2e57593b129d0a6bef47bbfcc4?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTheLukeMcCarthy<br \/>\njavascript .net asp.net asp.net-ajax microsoft-ajax<br \/>\nI am trying to add a script reference to the script manager in the event of a Microsoft AJAX Partial Postback, ie a user clicks on a link in an Update Panel.ScriptManager.RegisterClientScriptInclude(Page, Page.GetType(), &#8220;UniqueName&#8221;,Page.ResolveUrl(scriptPath));Doesn&#8217;t work and either doesScriptReference script = new ScriptReference(scriptPath); MyScriptManager.Scripts.Add(script);From what I have read on the net, RegisterClientScriptInclude should work even in a partial postback. http:\/\/www.co<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ea435c1add0d6e9f4c461413b7d84749?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNahid<br \/>\njquery asp.net telerik runtime-error microsoft-ajax<br \/>\nI am Developing a web application by using ASP.NET 3.5, jQuery and RadAjax Telerik Control. I get Error Messages when page Loading. that is :&#8221;Microsoft JScript runtime error: Unable to set value of the property &#8216;control&#8217;: object is null or undefined&#8221; . Image: and when I click to Open RadWindow then get same Error Message. and could not open radwindow. Image 2:How can I solved this Error. Help me..Thanks Nahid<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8a369556b0f7a75c71af5917aaea6cf3?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDan Sorensen<br \/>\nwebforms sitefinity microsoft-ajax sitefinity-5<br \/>\nHow do I troubleshoot the following error being thrown by a Microsoft AJAX JavaScript framework method? It is an automatically generated line of JavaScript from a custom User Control in a Web Forms App (Sitefinity 5 CMS)Error Message:Unable to get property &#8216;FancyBlockDesigner&#8217; of undefined or null referenceHere is the JavaScript that is throwing the error:Sys.Application.add_init(function() {$create(SitefinityWebApp.Esd.TheLab.SampleHtmlEditor.FancyBlockDesigner, null, null, {&#8220;Editor&#8221;:&#8221;propertyE<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Buchannon .net ajax .net-4.0 microsoft-ajax Recently upgraded the entire project to .NET 4.0 but when I debug javascript (using FireBug or Developer tools for IE9) it says the javascript file MicrosoftAjax.debug.js is still version 3.5 &#8211; is this an issue?\/\/ Name: MicrosoftAjax.debug.js \/\/ Assembly: AjaxControlToolkit \/\/ Version: 3.5.40412.0 \/\/ FileVersion: 3.5.40412.2 \/\/ (c) 2010 CodePlex [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5759","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5759"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5759\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}