<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Tip/Trick: Using ScriptManager ScriptPath to load MicrosoftAjax.js from file system</title>
	<atom:link href="http://damianblog.com/2006/11/27/scriptmanager-scriptpath/feed/" rel="self" type="application/rss+xml" />
	<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/</link>
	<description>.NET from Geneva, Switzerland</description>
	<lastBuildDate>Mon, 07 May 2012 06:33:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Silvana</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-383</link>
		<dc:creator>Silvana</dc:creator>
		<pubDate>Thu, 22 Apr 2010 18:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-383</guid>
		<description>I read your blog for asp.net 2.0.  I wonder if you have solution about  this problem.I am using framework 3.5 and ajaxtoolkit 3.0.30930.

I would like to load ajaxtoolkit  javascript files from a directory. I download the scripts from here AJAX Control Toolkit - Script Files Only .

Created  two  subdirectories on my .net project

 \scriptsAJAX\System.Web.Extensions\3.5.0.0\3.5.30729.196\ 

   I copied these two files on he above directory: MicrosoftAjax.debug.js and MicrosoftAjax.js

\scriptsAJAX\AjaxControlToolkit   

    The above  folder has all the script files (*js)  that i download from ajax control toolkit

Now I set the ScriptPath property on ScriptManager to ScriptPath=&quot;~/scriptsajax&quot;


     

I have a very sample test page that has DropDownList and CalendarExtender.  When I browse the  page then I get these errors:

Error: ASP.NET Ajax client-side framework failed to load.

Error: &#039;Sys&#039; is undefined

Yes I  did register 

 Could someone help me to solve this problem.What files is it missing?  
Thank you</description>
		<content:encoded><![CDATA[<p>I read your blog for asp.net 2.0.  I wonder if you have solution about  this problem.I am using framework 3.5 and ajaxtoolkit 3.0.30930.</p>
<p>I would like to load ajaxtoolkit  javascript files from a directory. I download the scripts from here AJAX Control Toolkit &#8211; Script Files Only .</p>
<p>Created  two  subdirectories on my .net project</p>
<p> \scriptsAJAX\System.Web.Extensions\3.5.0.0\3.5.30729.196\ </p>
<p>   I copied these two files on he above directory: MicrosoftAjax.debug.js and MicrosoftAjax.js</p>
<p>\scriptsAJAX\AjaxControlToolkit   </p>
<p>    The above  folder has all the script files (*js)  that i download from ajax control toolkit</p>
<p>Now I set the ScriptPath property on ScriptManager to ScriptPath=&#8221;~/scriptsajax&#8221;</p>
<p>I have a very sample test page that has DropDownList and CalendarExtender.  When I browse the  page then I get these errors:</p>
<p>Error: ASP.NET Ajax client-side framework failed to load.</p>
<p>Error: &#8216;Sys&#8217; is undefined</p>
<p>Yes I  did register </p>
<p> Could someone help me to solve this problem.What files is it missing?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anaBee</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-52</link>
		<dc:creator>anaBee</dc:creator>
		<pubDate>Tue, 22 Jan 2008 12:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-52</guid>
		<description>I get &quot;Warning:Unresponsive script
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.&quot; on my web site. If I click on the Continue button I get what I wanted, but the time it takes can not be tolerated.

The script in question is MicrosoftAjax.js
Can anyone tell me why do I get this warning and how do I eliminate it?</description>
		<content:encoded><![CDATA[<p>I get &#8220;Warning:Unresponsive script<br />
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.&#8221; on my web site. If I click on the Continue button I get what I wanted, but the time it takes can not be tolerated.</p>
<p>The script in question is MicrosoftAjax.js<br />
Can anyone tell me why do I get this warning and how do I eliminate it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samir</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-51</link>
		<dc:creator>Samir</dc:creator>
		<pubDate>Sat, 25 Aug 2007 17:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-51</guid>
		<description>Ajax is a great tool but... Microsoft AJAX JavaScript runtime files (MicrosoftAjax.js and MicrosoftAjaxWebForms.js) have been loaded once for each page. That is the main disadvantage of using Ajax: loading a page is weighted with additional size of those two JavaScript files. Is it possible to load those files only one time and then reuse them for each page in application? By using cache for example?</description>
		<content:encoded><![CDATA[<p>Ajax is a great tool but&#8230; Microsoft AJAX JavaScript runtime files (MicrosoftAjax.js and MicrosoftAjaxWebForms.js) have been loaded once for each page. That is the main disadvantage of using Ajax: loading a page is weighted with additional size of those two JavaScript files. Is it possible to load those files only one time and then reuse them for each page in application? By using cache for example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacobslusser.com &#187; Blog Archive &#187; Debugging JavaScript with Visual Studio</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-47</link>
		<dc:creator>jacobslusser.com &#187; Blog Archive &#187; Debugging JavaScript with Visual Studio</dc:creator>
		<pubDate>Wed, 01 Aug 2007 00:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-47</guid>
		<description>[...] Damian Mehers Blog - How to use the ScriptPath attribute. [...]</description>
		<content:encoded><![CDATA[<p>[...] Damian Mehers Blog &#8211; How to use the ScriptPath attribute. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CoderGeek</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-50</link>
		<dc:creator>CoderGeek</dc:creator>
		<pubDate>Sat, 23 Jun 2007 17:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-50</guid>
		<description>Damian,

I added the Java Script files and I get an exception thrown that it cant find the files it wants.  It is looking in
Scripts/System.Web.Extensions/2.0.0.0/MicrosoftAjax.debug.js

instead of
Scripts/System.Web.Extensions/1.0.61025.0/

Do you have any idea why it is ooking for 2.0.0.0 and where do i need to change it?  I looked in my code and 2.0.0.0 is only used for famework stuff as expected.

If I change my directory name to 2.0.0.0, everything works fine.

Thanks!</description>
		<content:encoded><![CDATA[<p>Damian,</p>
<p>I added the Java Script files and I get an exception thrown that it cant find the files it wants.  It is looking in<br />
Scripts/System.Web.Extensions/2.0.0.0/MicrosoftAjax.debug.js</p>
<p>instead of<br />
Scripts/System.Web.Extensions/1.0.61025.0/</p>
<p>Do you have any idea why it is ooking for 2.0.0.0 and where do i need to change it?  I looked in my code and 2.0.0.0 is only used for famework stuff as expected.</p>
<p>If I change my directory name to 2.0.0.0, everything works fine.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-49</link>
		<dc:creator>Damian</dc:creator>
		<pubDate>Mon, 12 Feb 2007 05:56:19 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-49</guid>
		<description>In the final release Microsoft have made this a lot easier since they have pre-structured their directories as required.  In order to get this to work you need only copy MicrosoftAjaxLibrary from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 to your application directory, and set up your ScriptPath to point to ~/MicrosoftAjaxLibrary</description>
		<content:encoded><![CDATA[<p>In the final release Microsoft have made this a lot easier since they have pre-structured their directories as required.  In order to get this to work you need only copy MicrosoftAjaxLibrary from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 to your application directory, and set up your ScriptPath to point to ~/MicrosoftAjaxLibrary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET Forums - Customizing AJAX source?</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-48</link>
		<dc:creator>ASP.NET Forums - Customizing AJAX source?</dc:creator>
		<pubDate>Fri, 09 Feb 2007 14:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-48</guid>
		<description>[...] tried using the techniques detailed on http://forums.asp.net/thread/1489298.aspx&#160;&amp; http://damianblog.com/2006/11/27/scriptmanager-scriptpath&#160;to load my own copy of PreviewScript.debug.js no avail.&#160; I&#039;ve tried different [...]</description>
		<content:encoded><![CDATA[<p>[...] tried using the techniques detailed on <a href="http://forums.asp.net/thread/1489298.aspx&nbsp;&#038;amp" rel="nofollow">http://forums.asp.net/thread/1489298.aspx&nbsp;&#038;amp</a>; <a href="http://damianblog.com/2006/11/27/scriptmanager-scriptpath&nbsp;to" rel="nofollow">http://damianblog.com/2006/11/27/scriptmanager-scriptpath&nbsp;to</a> load my own copy of PreviewScript.debug.js no avail.&nbsp; I&#8217;ve tried different [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anish Devasia</title>
		<link>http://damianblog.com/2006/11/27/scriptmanager-scriptpath/comment-page-1/#comment-46</link>
		<dc:creator>Anish Devasia</dc:creator>
		<pubDate>Sat, 06 Jan 2007 13:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2006/11/27/tiptrick-using-scriptmanager-scriptpath-to-load-microsoftajaxjs-from-file-system/#comment-46</guid>
		<description>Thank you Damian.
I was searching for this.</description>
		<content:encoded><![CDATA[<p>Thank you Damian.<br />
I was searching for this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

