VS2008 AJAX and .Net 2.0

M

Mike

I am using VS2008 release and am trying to create a AJAX web site targetted
to .Net 2.0. however, there is no AJAX template and the default.aspx page and
web.config that is created has no AJAX 2.0 references. Is this supported
under VS2008 or must I downgrade to VS2005?

Thanks in advance,

Mike
 
S

Scott M.

Ajax is supported in VS 2008, but creating a standard web form and adding
Ajax controls to it from the Toolbox.

Ajax is not a part of .NET 2.0, it's a part of the 3.x Framework. You can
develop the application using VS 2008, but your server will need the 3.x
Framework installed. The 3.5 Framework has just recently been released.
 
S

Scott M.

"by" creating a standard....


Scott M. said:
Ajax is supported in VS 2008, but creating a standard web form and adding
Ajax controls to it from the Toolbox.

Ajax is not a part of .NET 2.0, it's a part of the 3.x Framework. You can
develop the application using VS 2008, but your server will need the 3.x
Framework installed. The 3.5 Framework has just recently been released.
 
B

bruce barker

there currently is no template for 2.0, but if ajax is installed, update the
web.config as specified in the docs, and it will work.

-- bruce (sqlwork.com)
 
M

Mike

Scott,

Thanks. I guess I'll just have to wire 1.0 by hand as my company is not yet
willing to put 3.5 in production.

Regards,

Mike
 
M

Mike

Bruce,

That's what I figured. Can you point me to the appropriate docs? I added the
references and handlers manually and got the page to render with scripting
properly, I'm just not sure if I missed anything (probably the stuff related
to WS callbacks).

Regards,

Mike
 
M

Mike

Thanks. And I assume switching between 3.5 and 2.0 target will overwrite the
changes

Michael Nemtsev said:
see there how to config it manually
http://asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx

take into account that u need refer to ajax from .NET 2.0, not from 3.5
version of FW
--
WBR, Michael Nemtsev [.NET/C# MVP].
Blog: http://spaces.live.com/laflour



Mike said:
Bruce,

That's what I figured. Can you point me to the appropriate docs? I added the
references and handlers manually and got the page to render with scripting
properly, I'm just not sure if I missed anything (probably the stuff related
to WS callbacks).

Regards,

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top