Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

VS2008 AJAX and .Net 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 11 Dec 2007 20:24 GMT
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
Scott M. - 11 Dec 2007 20:40 GMT
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.

>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
[quoted text clipped - 5 lines]
>
> Mike
Scott M. - 11 Dec 2007 20:58 GMT
"by" creating a standard....

> Ajax is supported in VS 2008, but creating a standard web form and adding
> Ajax controls to it from the Toolbox.
[quoted text clipped - 13 lines]
>>
>> Mike
Mike - 11 Dec 2007 21:16 GMT
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

> "by" creating a standard....
>
[quoted text clipped - 15 lines]
> >>
> >> Mike
bruce barker - 11 Dec 2007 21:06 GMT
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)

> 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
[quoted text clipped - 4 lines]
>
> Mike
Mike - 11 Dec 2007 21:18 GMT
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

> 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.
[quoted text clipped - 9 lines]
> >
> > Mike
bruce barker - 11 Dec 2007 23:49 GMT
http://asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx

-- bruce (sqlwork.com)

> Bruce,
>
[quoted text clipped - 20 lines]
> > >
> > > Mike
Mike - 12 Dec 2007 14:17 GMT
Thanks.

> http://asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx
>
[quoted text clipped - 24 lines]
> > > >
> > > > Mike
Michael Nemtsev - 11 Dec 2007 23:55 GMT
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
Signature

WBR,  Michael  Nemtsev [.NET/C# MVP].  
Blog: http://spaces.live.com/laflour

> Bruce,
>
[quoted text clipped - 20 lines]
> > >
> > > Mike
Mike - 12 Dec 2007 14:17 GMT
Thanks. And I assume switching between 3.5 and 2.0 target will overwrite the
changes

> see there how to config it manually
> http://asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx
[quoted text clipped - 26 lines]
> > > >
> > > > Mike

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.