Hi,
Looks like you're trying to use VS 2008 to target ASP.NET AJAX 1.0 instead
of upgrading to use the built-in AJAX assemblyes in .NET 3.5. In this case,
you will need to follow the steps in this blog to make it work:
#Your Websites, Our Passion! : Using VS 2008 to target ASP.NET AJAX 1.0
http://blogs.msdn.com/webdevtools/archive/2007/07/30/using-vs-2008-to-target
-asp-net-ajax-1-0.aspx
On the other hand, Scottgu has another detailed blog on how to upgrade your
existing project to use the the 3.5 version:
#ASP.NET AJAX in .NET 3.5 and VS 2008 - ScottGu's Blog
http://weblogs.asp.net/scottgu/archive/2007/07/30/asp-net-ajax-in-net-3-5-an
d-vs-2008.aspx
Hope this helps.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
rkbnair - 07 Dec 2007 16:12 GMT
Hi Mr. Wang,
I followed the steps to upgrade the ajax. I think I'm not using any Ajax
tool kit. So, I ignored that section.
The runtime section is giving an error in the web.config.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions"
publicKeyToken="31BF3856AD364E35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
The documentation is not good at all. Information is missing here and there.
How do I know that I also have Ajax 1.0 installed in my machine?
> Hi,
>
[quoted text clipped - 25 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
rkbnair - 07 Dec 2007 16:14 GMT
Mr. Wang,
Also, my application did not ask the confirmation to upgrade the project.
I don't use the Ajax except to populate the grid. I mean I use very minimal
features.

Signature
test
> Hi,
>
[quoted text clipped - 25 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
rkbnair - 07 Dec 2007 20:16 GMT
Mr. Wang,
Also, how can I know which version of Ajax I'm using?

Signature
test
> Hi,
>
[quoted text clipped - 25 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 10 Dec 2007 06:57 GMT
Hi,
First, please note that if you don't want to install separate ASP.NET AJAX
extension, you will need to use project type to target 3.5 framework to use
the built-in Ajax extension in Visual Studio 2008.
To find out if you have installed Ajax Extension 1.0, try to open a Visual
Studio 2008 command prompt and run following command:
gacutil /l | findstr /I system.web.extension
This should list the assemblies installed in GAC.
Since there's some changes from VS2008 beta version, a tip to find out
which config is needed in your web.config to enable AJAX extension is to
create a new web site (target 3.5 Framework) and check the generated
web.config, it has all the information you needed to enable AJAX.
Hope this helps.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.