473,406 Members | 2,849 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,406 software developers and data experts.

AJAX Extensions not working

I have installed the AJAX extensions and partial page rendering works ok
from a new ajax enabled web site I created in VS. The problem is that I've
manually entered the necessary entries into the web.config into an existing
project and the same asp.net file doesn't work from the migrated web.config
project.

When I compared the html source between 2 identical asp.net files the
differences was that the 2 script sections below were missing:

<script
src="/WebResource.axd?d=Htewp0TRJI3R2gJ_WhDDtA2&amp;t=63 2966009958750000"
type="text/javascript"></script>

<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('Scrip tManager1',
document.getElementById('form1'));
Sys.WebForms.PageRequestManager.getInstance()._upd ateControls(['tUpdatePanel1'],
[], [], 90);
//]]>
</script>

Can someone explain what web.config setting controls this output into the
html?

Thanks,
Tony
Jun 12 '07 #1
2 1397
"Tony Sedgwick" wrote ...
Can someone explain what web.config setting controls this output into the
html?
Hi Tony,

On the app that you are trying to convert, have you placed a "ScriptManager"
control on the page?

I believe it to be that which generates the scripts you see in the source
etc...

Regards

Rob
Jun 12 '07 #2
Have now fixed the problem.

I had
<xhtmlConformance mode="Legacy"/>

in the web.config, this stops the AJAX extensions including the javascript
files needed for AJAX. The bad thing is that you don't see any error
messages when constructing your page but it just doesn't work as expected.
Tony
"Rob Meade" <ku***************@edaem.borwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
"Tony Sedgwick" wrote ...
>Can someone explain what web.config setting controls this output into the
html?

Hi Tony,

On the app that you are trying to convert, have you placed a
"ScriptManager" control on the page?

I believe it to be that which generates the scripts you see in the source
etc...

Regards

Rob


Jun 12 '07 #3

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

Similar topics

2
by: K | last post by:
Hi, I have a web applicatian that used the Atlas Framework and was working fine (regardless of the bugs), but when I migrated to the Ajax ..NET Beta 1 and made the neccessary changes as described...
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"...
11
by: =?Utf-8?B?VHJlbnQ=?= | last post by:
I have tied an AutoCompleteExtender to a textbox to indicate suggestions to the user. Everything works fine if I utilize a webservice to fetch the results. However, I want to put the web service...
2
by: =?Utf-8?B?UmljaCBBcm1zdHJvbmc=?= | last post by:
I see that the RTM version of ASP.NET AJAX requires installation of the ASP.NET AJAX assemblies in the GAC. I've been through all the docs, and deployment, per se, is never directly addressed. ...
3
by: =?Utf-8?B?am9uZWZlcg==?= | last post by:
I've got my AJAX page working from the development server, but now I want to publish the site to the real thing IIS 6 in Windows Server 2003 What should I tell the guys when they see this...
5
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I...
11
by: Jonathan Wood | last post by:
Can anyone point me to any good resources on adding AJAX to a page once the page has already been created? I know VS2008 has options to add AJAX pages, but I didn't select those options when the...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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.