Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Ajax in Visual Studio 2008/Framework v2.0

Reply
Thread Tools

Ajax in Visual Studio 2008/Framework v2.0

 
 
Mr. Magic
Guest
Posts: n/a
 
      11-19-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
 
      11-19-2009

"Mr. Magic" <> wrote in message
news:%...
>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
 
      11-20-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-> wrote in message
news:...
>
> "Mr. Magic" <> wrote in message
> news:%...
>>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
 
      11-20-2009

"Mr. Magic" <> wrote in message
news:%23py$...
> 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
 
      11-20-2009
Right. We only have Framework 2.0 on the server. No 3.5 yet.

"Scott M." <s-> wrote in message
news:...
>
> "Mr. Magic" <> wrote in message
> news:%23py$...
>> 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
 
      11-20-2009

"Mr. Magic" <> wrote in message
news:%...
> Right. We only have Framework 2.0 on the server. No 3.5 yet.
>
> "Scott M." <s-> wrote in message
> news:...
>>
>> "Mr. Magic" <> wrote in message
>> news:%23py$...
>>> 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

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
Is Visual Studio 2005 complict with Visual Studio 2003 rockdale ASP .Net 1 08-23-2006 07:20 PM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 0 06-29-2006 07:05 PM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57