473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

AJAX ScriptResource does not parse on Safari 1.3.2

The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)

Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?
Feb 15 '07 #1
4 1462
You should be able to create a modified script, put that on disk and just
set the script path

Just place the script say on root folder of your app and then on
ScriptManager

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="MicrosoftAjax.js"
Path="MicrosoftAjax.js" />
</Scripts>
</asp:ScriptManager>

This way it looks for the script on the disk, not from the resource and it
gives you chance to fix it, what it takes to fix (split it on few lines or
something)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Trumba" <tr****@discussions.microsoft.comwrote in message
news:49**********************************@microsof t.com...
The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)

Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?
Feb 15 '07 #2
Blogged about it:
http://aspadvice.com/blogs/joteke/ar....NET-Ajax.aspx

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:CF**********************************@microsof t.com...
You should be able to create a modified script, put that on disk and just
set the script path

Just place the script say on root folder of your app and then on
ScriptManager

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="MicrosoftAjax.js"
Path="MicrosoftAjax.js" />
</Scripts>
</asp:ScriptManager>

This way it looks for the script on the disk, not from the resource and it
gives you chance to fix it, what it takes to fix (split it on few lines or
something)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Trumba" <tr****@discussions.microsoft.comwrote in message
news:49**********************************@microsof t.com...
>The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)

Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?
Feb 15 '07 #3
Update: If you check my blog post, it's being said that ASP.NET Ajax isn't
supported on saafari 1.3. It's likely that there are other issues as well.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:E5**********************************@microsof t.com...
Blogged about it:
http://aspadvice.com/blogs/joteke/ar....NET-Ajax.aspx

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:CF**********************************@microsof t.com...
>You should be able to create a modified script, put that on disk and just
set the script path

Just place the script say on root folder of your app and then on
ScriptManager

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="MicrosoftAjax.js"
Path="MicrosoftAjax.js" />
</Scripts>
</asp:ScriptManager>

This way it looks for the script on the disk, not from the resource and
it gives you chance to fix it, what it takes to fix (split it on few
lines or something)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Trumba" <tr****@discussions.microsoft.comwrote in message
news:49**********************************@microso ft.com...
>>The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)

Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?
Feb 16 '07 #4
Thanks for the tip on the Path attribute.

I've also seen that 1.3 is not supported, but I don't think our usage
figures support that as a good decision. In any case for our purposes, the
debug version seems to work, so using our own path is likely to be adequate.

"Teemu Keiski" wrote:
Update: If you check my blog post, it's being said that ASP.NET Ajax isn't
supported on saafari 1.3. It's likely that there are other issues as well.

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:E5**********************************@microsof t.com...
Blogged about it:
http://aspadvice.com/blogs/joteke/ar....NET-Ajax.aspx

--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
"Teemu Keiski" <jo****@aspalliance.comwrote in message
news:CF**********************************@microsof t.com...
You should be able to create a modified script, put that on disk and just
set the script path

Just place the script say on root folder of your app and then on
ScriptManager

<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="MicrosoftAjax.js"
Path="MicrosoftAjax.js" />
</Scripts>
</asp:ScriptManager>

This way it looks for the script on the disk, not from the resource and
it gives you chance to fix it, what it takes to fix (split it on few
lines or something)
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

"Trumba" <tr****@discussions.microsoft.comwrote in message
news:49**********************************@microsof t.com...
The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)

Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?

Feb 19 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: =?Utf-8?B?SGFyZHkgV2FuZw==?= | last post by:
Hi all, I followed first walk through sample from http://ajax.asp.net/docs/tutorials/IntroductionUpdatePanel.aspx to create my first testing page, The problem is after I clicked that botton, it...
2
by: Rahul | last post by:
I am trying the following thing in AJAX <atlas:ScriptManager ID="scriptmanager1" runat="Server" EnablePartialRendering="true" /> <asp:DropDownList ID="cmbBranchname" cssclass="Combostyle"...
3
by: Steve Kershaw | last post by:
Hey, I have a master.page and a Default.aspx page. I'm trying to use AJAX to postback to the server. However, when I place the <asp:ScriptManager ...tag on the Default.aspx page I get an "Element...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
2
by: germ | last post by:
doing a simple page webmethod call an a page via PageMethods works fine in ie7 & opera9 the same call on firefox ( and I assume netscape ) generates the following error : Error: " nsresult:...
3
by: Max2006 | last post by:
Hi, I use ASP.NET Ajax in my web site and I am monitoring the HTTP requests per each page by using fidler. I am surprised by the excessive call of ScriptResource.axd with different query string...
2
by: =?Utf-8?B?QW5kcsOp?= | last post by:
I have a domain www.lomas21.es. That domain is masked forwarded, by the server, to the real stuff at www.solicon.com.es/lomas21/ AJAX is only working: - When you go to...
1
by: Mark B | last post by:
This is my first try at using AJAX. I want the calendars to be enabled if the user checks CheckBox1. It works OK for a normal all page refresh but once I introduced the AJAX code it stopped...
1
by: Yan | last post by:
Hi, I'm apparently far from being the 1st one to meet this error... My asp.net ajax page requires ScriptManager.axd but gets a 404. following a lot of "This is how I solved it" posts, I : -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.