PC Review


Reply
Thread Tools Rate Thread

Ajax in Visual Studio 2008/Framework v2.0

 
 
Mr. Magic
Guest
Posts: n/a
 
      19th Nov 2009
I have a new machine with Windows 7/Visual Studio 2008. I am working on a
..Net 2.0 website. When I bring it up, the conversion wizard runs and then it
tell me it can't find System.Web.Extensions.ScriptManager.

Do I need to install the Ajax toolkit to be able to compile the .Net 2.0
website with Ajax? If so, what is the link for it?

TIA - Jeff.

 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      19th Nov 2009

"Mr. Magic" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have a new machine with Windows 7/Visual Studio 2008. I am working on a
>.Net 2.0 website. When I bring it up, the conversion wizard runs and then
>it tell me it can't find System.Web.Extensions.ScriptManager.
>
> Do I need to install the Ajax toolkit to be able to compile the .Net 2.0
> website with Ajax? If so, what is the link for it?
>
> TIA - Jeff.


ASP.NET AJAX requires the 3.5 Framework. If you've chosen a 2.0 project or
website, you won't have access to those libraries. You need to choose a 3.5
project or website.

-Scott


 
Reply With Quote
 
Mr. Magic
Guest
Posts: n/a
 
      20th Nov 2009
But I was able to do Ajax in a .Net 2.0 project under VS 2005. I did have to
add the toolkit.

Is the same true for 2008? I have to add the toolkit?

Converting the site to 3.5 is not really an option. Plus I don't understand
why it would work under 2005 but not under 2008.

TIA - J.

"Scott M." <s-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Mr. Magic" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>>I have a new machine with Windows 7/Visual Studio 2008. I am working on a
>>.Net 2.0 website. When I bring it up, the conversion wizard runs and then
>>it tell me it can't find System.Web.Extensions.ScriptManager.
>>
>> Do I need to install the Ajax toolkit to be able to compile the .Net 2.0
>> website with Ajax? If so, what is the link for it?
>>
>> TIA - Jeff.

>
> ASP.NET AJAX requires the 3.5 Framework. If you've chosen a 2.0 project
> or website, you won't have access to those libraries. You need to choose
> a 3.5 project or website.
>
> -Scott
>

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      20th Nov 2009

"Mr. Magic" <(E-Mail Removed)> wrote in message
news:%23py$(E-Mail Removed)...
> But I was able to do Ajax in a .Net 2.0 project under VS 2005. I did have
> to add the toolkit.
>
> Is the same true for 2008? I have to add the toolkit?
>
> Converting the site to 3.5 is not really an option. Plus I don't
> understand why it would work under 2005 but not under 2008.
>
> TIA - J.


It is possible to "update" a copy of Visual Studio 2005 by adding the ASP
..NET AJAX Toolkit to it and that's why you were able to do it with VS 2005.
But understand that you weren't *just* adding the Toolkit (which is just a
series of .NET Server Controls that have JavaScript API's), you were also
adding the fundamental types to do AJAX as well as the Microsoft AJAX Client
Library.

Now, ASP.NET AJAX (but not the toolkit) is a native part of .NET 3.5, so if
you want to do AJAX stuff, you shouldn't go backwards and get the *older*
version of AJAX, you just use what's buit into .NET.

Your server supports 2.0 but not 3.5?

-Scott


 
Reply With Quote
 
Mr. Magic
Guest
Posts: n/a
 
      20th Nov 2009
Right. We only have Framework 2.0 on the server. No 3.5 yet.

"Scott M." <s-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Mr. Magic" <(E-Mail Removed)> wrote in message
> news:%23py$(E-Mail Removed)...
>> But I was able to do Ajax in a .Net 2.0 project under VS 2005. I did have
>> to add the toolkit.
>>
>> Is the same true for 2008? I have to add the toolkit?
>>
>> Converting the site to 3.5 is not really an option. Plus I don't
>> understand why it would work under 2005 but not under 2008.
>>
>> TIA - J.

>
> It is possible to "update" a copy of Visual Studio 2005 by adding the ASP
> .NET AJAX Toolkit to it and that's why you were able to do it with VS
> 2005. But understand that you weren't *just* adding the Toolkit (which is
> just a series of .NET Server Controls that have JavaScript API's), you
> were also adding the fundamental types to do AJAX as well as the Microsoft
> AJAX Client Library.
>
> Now, ASP.NET AJAX (but not the toolkit) is a native part of .NET 3.5, so
> if you want to do AJAX stuff, you shouldn't go backwards and get the
> *older* version of AJAX, you just use what's buit into .NET.
>
> Your server supports 2.0 but not 3.5?
>
> -Scott
>

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      20th Nov 2009

"Mr. Magic" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Right. We only have Framework 2.0 on the server. No 3.5 yet.
>
> "Scott M." <s-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>
>> "Mr. Magic" <(E-Mail Removed)> wrote in message
>> news:%23py$(E-Mail Removed)...
>>> But I was able to do Ajax in a .Net 2.0 project under VS 2005. I did
>>> have to add the toolkit.
>>>
>>> Is the same true for 2008? I have to add the toolkit?
>>>
>>> Converting the site to 3.5 is not really an option. Plus I don't
>>> understand why it would work under 2005 but not under 2008.
>>>
>>> TIA - J.

>>
>> It is possible to "update" a copy of Visual Studio 2005 by adding the ASP
>> .NET AJAX Toolkit to it and that's why you were able to do it with VS
>> 2005. But understand that you weren't *just* adding the Toolkit (which is
>> just a series of .NET Server Controls that have JavaScript API's), you
>> were also adding the fundamental types to do AJAX as well as the
>> Microsoft AJAX Client Library.
>>
>> Now, ASP.NET AJAX (but not the toolkit) is a native part of .NET 3.5, so
>> if you want to do AJAX stuff, you shouldn't go backwards and get the
>> *older* version of AJAX, you just use what's buit into .NET.
>>
>> Your server supports 2.0 but not 3.5?
>>
>> -Scott


Then your stuck between a rock and hard-place. The older ASP .NET AJAX
Toolkit is not compatible with VS 2008, so you can't do what you've done in
the past and because your server doesn't support ASP .NET 3.5, you can't use
the current version of ASP .NET AJAX.

Sounds like you should stick with VS 2005 until your server can handle 3.5.

-Scott


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compact .Net framework 1 in Visual Studio 2008 Simon Microsoft C# .NET 2 30th Mar 2009 05:38 PM
Article Of the Day: How AJAX is included as a first class concept inboth ASP.NET 3.5 and Visual Studio 2008 anil reddy Microsoft C# .NET 0 11th Feb 2009 04:31 PM
Article Of the Day: How AJAX is included as a first class concept inboth ASP.NET 3.5 and Visual Studio 2008. anil reddy Microsoft ASP .NET 0 11th Feb 2009 04:30 PM
Visual Studio 2008 Publishing simple ajax site to ASP2.0 shared host DanWeaver Microsoft ASP .NET 2 1st Apr 2008 05:47 PM
Download .NET Framework 3.5, 3.0,2.0,1.1,1.0 and Visual Studio 2008 Dutt Microsoft Dot NET 0 8th Feb 2008 02:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 AM.