Welcome to MSDN Blogs Sign in | Join | Help

Visual Web Developer Team Blog

Your official information source from the Visual Web Developer team.

News

  • These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified Terms of Use
Using VS 2008 to target ASP.NET AJAX 1.0

8/10/2007 UPDATE:  This blog post was edited to include simplified instructions to work around a known issue w/ Multitargeting support in VS 2008 Beta 2.  See “Machine Prerequisites” below.

 

In a previous post, I described the steps you can take to upgrade your existing ASP.NET AJAX 1.0-based Web sites to use the new AJAX functionality in .NET Framework 3.5.  However, you may also need to maintain existing AJAX 1.0-based sites without upgrading them, or even continue creating new AJAX 1.0-based sites.  Fortunately, the Multitargeting support in Visual Studio 2008 allows you do just that.  Using Visual Studio 2008, you can still write and maintain applications using .NET Framework 2.0 (and AJAX 1.0), while also reaping the benefits of all the new features in VS 2008 such as the new WYSIWYG design surface, CSS management features, Jscript Intellisense, and Jscript debugging.  In this post, we’ll look at the steps you can follow to either maintain an existing ASP.NET AJAX 1.0 application in VS 2008, or create a new ASP.NET AJAX 1.0-based application in VS 2008.  If  you decide to move forward to the AJAX functionality in .NET Framework 3.5 at a later time, you can simply follow these steps to upgrade.

 

Machine Prerequisites:

 

1.       Download and install Microsoft Visual Studio 2008 Beta 2

2.       After the Beta 2 installation has finished, you should run this script to ensure that the installation of .NET Framework 3.5 Beta 2 will not affect the development of ASP.NET AJAX 1.0 applications.  You should do this immediately after installing VS Beta 2.

3.       Download and install ASP.NET AJAX 1.0.

4.       Apply the following workaround to fix a known issue with Visual Studio’s Multitargeting support for AJAX 1.0.  Note that this workaround will *not* be required for the VS 2008 RTM release:

 

Workaround to Fix VS 2008 Beta 2 Multitargeting Support for AJAX 1.0

 

    1.  In Window’s Explorer, go to this folder:
         \Program Files\Reference Assemblies\Microsoft\Framework\v3.5

    2.  Create a folder entitled “Backup” at this location

    3.  Make a back-up copy of these two assemblies in the new “Backup” folder, and
         then delete them from \Program Files\Reference Assemblies\Microsoft\Framework\v3.5:

 

               System.Web.Extensions.dll

               System.Web.Extensions.Design.dll

  

Note:  This workaround causes two known side effects to Web Application Projects in VS 2008:
 

Creating a new 3.5 Web Application Project has a "broken" reference to System.Web.Extensions 0.0.0.0 in the client references list (Project Properties > References).  If you build the project, you will encounter this error:  The referenced assembly "D:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Web.Extensions.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. In order to correct this, you need to manually remove this reference, then Browse... to the location of the System.Web.Extensions 3.5 backup you made in step 3 above to add the reference back to the project.

 

When upgrading a Web Application Project that uses AJAX 1.0 to .NET Framework 3.5, VS doesn't remove the reference to System.Web.Extensions 1.0.6 in the client references list (Project Properties > References).  You need to manually remove this reference and then Browse... to the location of the System.Web.Extensions 3.5 backup you made in step 3 above to add the reference back to the project. 

 

Step One:  Create or Open Your AJAX 1.0 Website or Web Application in VS 2008

 

To Create a New AJAX 1.0 Website or Web Application:

 

If you want to create a new AJAX 1.0 Website or Web Application in VS 2008, follow these steps:

 

1.       In the File menu, choose New Website… and select “ASP.NET Website”

a.       To create a Web Application Project instead, choose “New Project…” and select “ASP.NET Web Application” in the language of your choice

2.       In this dialog’s top-right corner, change the Target Framework version dropdown to 2.0.

 

 New Website Dialog 2.0

 

a.       Note that in Visual Web Developer Express, there is no Target Framework dropdown in the New Website dialog.  Instead you must create the project first and then downgrade the Target Framework to 2.o in the Website Property Pages dialog (under the Build tab).

 

2.       Copy the  ASP.NET AJAX 1.0 Web.config file to your project root folder

3.       Follow the instructions in Steps Two and Three below to populate the Toolbox with AJAX 1.0 controls

 

To Open an Existing AJAX 1.0 Website or Web Application:

 

If you have an existing ASP.NET AJAX 1.0 Website or Web Application Project (i.e. built using VS 2005) that you want to continue maintaining in Visual Studio 2008, follow these steps:

 

1.       First, make a backup of your project, then launch Microsoft Visual Studio 2008 Beta 2.

2.       In the File menu, choose Open Website… to open your Website’s folder or IIS virtual directory

a.       If you are opening a Web Application project instead, choose “Open Project…”, and navigate to the project file to open it.  Follow the steps of the Visual Studio Conversion wizard to convert the project file to the VS 2008 format.

3.       When Visual Studio 2008 prompts to upgrade the Website or Web Application, select “No” to keep the Target Framework as version 2.0.

 

Framework Version Prompt (No) 

 

 Step Two:  Install ASP.NET AJAX 1.0 Controls to the VS 2008 Toolbox

 

By default, Visual Studio 2008 does not display ASP.NET AJAX 1.0 controls in the toolbox when you are targeting .NET Framework 2.0 (this is because AJAX 1.0 is a separate download from VS 2008, and the AJAX 1.0 installer only adds templates/controls to VS 2005).  In order to make the AJAX 1.0 controls available in VS 2008, you need to populate the toolbox manually using these steps:

 

1.       Open a Web Form (.aspx page) in your project

2.       Right-click the Toolbox and choose “Add Tab”

3.       Give the new tab a name, such as “AJAX Extensions 1.0”

4.       Right click underneath the new tab and select “Choose Items…” (note that it can take awhile to bring up the this dialog for the first time)

 

Toolbox Choose Items AJAX 1.0 

 

5.       In the Choose Toolbox Items dialog, click the Browse… button

6.       Browse to \Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025, select System.Web.Extensions.dll, and click the “Open” button.

 

Toolbox Choose Items Dialog Browse AJAX 1.0 

 

7.       You should see the toolkit controls selected in the Choose Toolbox Items dialog.  Click OK to add these controls to the toolbox.

 

Toolbox Choose Items Dialog AJAX 1.0

 

After confirming this dialog, the ASP.NET AJAX 1.0 controls will appear in your toolbox.  You can verify that these are the 1.0 controls by hovering over a control in the Toolbox and looking for the tooltip containing version number 1.0.61025.0.

 

 

Important Note:  These controls will continue to be displayed in applications that target .NET Framework 3.5, so be careful not to accidently add them to pages in those applications (you should use the AJAX Extensions controls included in .NET Framework 3.5 instead).

 

Toolbox AJAX 1.0 Tooltip 


Step Three (Optional): Download and Install the ASP.NET AJAX Toolkit Controls to the VS 2008 Toolbox

 

If your application uses the ASP.NET AJAX Control Toolkit, you will need to follow these similar instructions to populate the toolbox in VS 2008 with the ASP.NET AJAX Toolkit controls.  If you already have downloaded the Toolkit to your machine, you may skip steps 1-3.

 

1.       Click here to go to the ASP.NET AJAX Toolkit Release page

2.       Download the latest version of the toolkit for .NET Framework version 2.0 (choose one):

a.       AjaxControlToolkit-NoSource.zip

b.      AjaxControlToolkit.zip (includes source code)

3.       In Windows Explorer, right-click the zip file and choose “Extract All…” to extract the contents to an “AjaxControlToolkit” folder in the same directory

4.       In Visual Studio 2008, Open a Web Form (.aspx page) in your project

5.       Right-click the Toolbox and choose “Add Tab”

6.       Give the new tab a name, such as “AJAX Toolkit 1.0”

7.       Right click underneath the new tab and select “Choose Items…” (note that it can take awhile to bring up the this dialog for the first time)

8.       In the Choose Toolbox Items dialog, click the Browse… button

9.       Browse to \AjaxControlToolkit\SampleWebSite\Bin, select AjaxControlToolkit.dll, and click the “Open” button.

10.   You should see the toolkit controls selected in the Choose Toolbox Items dialog.  Click OK to add these controls to the toolbox.

 

Important Note:  These controls will continue to be displayed in applications that target .NET Framework 3.5, so be careful not to accidently add them to pages in those applications (you should use the AJAX Control Toolkit released for .NET Framework 3.5 instead).

 

Conclusion

You can now continue building and maintaining your .NET Framework 2.0 + AJAX 1.0 Web application in Visual Studio 2008.  When you close and re-open your project in Visual Studio, you will not be prompted to upgrade it again, although you can upgrade to .NET Framework 3.5 at any time by following these steps.  Additionally, there are many great new features of Visual Studio 2008 Beta 2 that you can use to develop your AJAX 1.0 application (see the links at the top of this post), although there are few caveats about developing AJAX 1.0 applications in Visual Studio 2008 that are worth calling out:

 

·         The AJAX item templates such as “AJAX Web Form” and “AJAX Master Page” not available in the Add New Item dialog of a .NET Framework 2.0 application.  You can instead add a regular Web Form or Master Page template, and add the <asp:ScriptManager> control from the toolbox.

·         JScript Intellisense always displays members from the AJAX 3.5 scripts.  Although these scripts are backward-compatible with AJAX 1.0, Jscript Intellisense may display members that are unavailable in AJAX 1.0.  To get AJAX 1.0-based Intellisense, you can copy the entire System.Web.Extensions folder from the AJAX 1.0 installation directory (typically under \Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\MicrosoftAjaxLibrary) and then add an explicit script reference to the 1.0 MicrosoftAjax.js script on the <asp:ScriptManager/> in your page:

 

    <asp:ScriptManager ID="ScriptManager1" runat="server">

      <Scripts>

        <asp:ScriptReference Name="MicrosoftAjax.js"
         Path="~/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.js" />

      </Scripts>

    </asp:ScriptManager>

 

·         Jscript Intellisense against Web Services (registered in ScriptManager) or the ProfileService (enabled in Web.config) is unavailable in an AJAX 1.0 application.

·         Extender controls from the AJAX 1.0 Control Toolkit or other AJAX 1.0-based 3rd-party control libraries will not get the VS 2008 Extender design-time enhancements (i.e. the “Choose Extender…” smart task in Design View).

·         You will not get intellisense for references to scripts inside third-party assemblies.

 

 

Posted: Monday, July 30, 2007 4:53 AM by WebDevTools

Comments

RBeaubien said:

I followed your instructions but still have problems getting web application to compile and run.  I am creating a new web application project under VS2008 B2.  After doing that, I copy in the Ajax 1.0 web.config.  At this point, I get an error: ~\Default.aspx: ASP.NET runtime error: Failed to start monitoring changes to '~\WebApplication1\WebApplication1\Default.aspx'

No matter what else I do, I still get this error.

This is installed in a VM using Vista Business (x86) wth Office 2007 Professional installed in the VM.

# July 30, 2007 2:16 AM

RBeaubien said:

Fixed that error. It was a security error connecting to the physical harddrive on the host computer.

# July 30, 2007 3:40 AM

Mike said:

Wow, that's a lot of important notes ;-)

I think I'll just use VS 2008 for new (test) projects and won't be upgrading current projects, there's no 3.5 hosting so why take the risk?

# July 30, 2007 5:28 AM

Michael Hensen said:

Vs2008 B2 keeps telling me that there are no usable controls in this group.. (for a asp.net 2.0 project)

And no matter what I do..( have run the policy script several times now) hitting F5 always pops up with the message 'The Framework required by assembly 'AjaxcontrolToolkit.dll' or one of it's dependencies is higher then the project target framework. Would you like ro add this reference to your project anyway?

I cannot figure out how to get the toolkit show up in the toolbox also..

Any advise? I have been changing 2.0 -> 3.5 -> 2.0 now. but cannot figure out what I am doing wrong.

By adding

<assemblies>

               <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

               <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

               <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

               <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

           </assemblies>

to the webconfig I can run the project.. but it requires that I do the ajax compnentplacement by hand.

So any advice is welcome here!

# July 30, 2007 5:37 AM

Mads said:

Hi,

I have a similar problem as Michael Hensen.

I've opened a VS2005 solution with an asp.net 2.0 web application project in VS2008 Beta2 after I ran the DisableAjaxPolicy script and the /resetsettings switch for VS 2008.

The conversion of the project files completed with no errors.

But no items are showing in the toolbox when I add components from the System.Web.Extensions.dll.

I've tried the same thing with AJAX Control Toolkit but still no items get added to the Toolbox.

When I run the web application I get the parser error: "Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.".

If I change the "Version" to "1.0.61025.0" in the Register Assembly directive on the web forms, the site runs fine.

P.S. I'm running on Vista and also have VS2005 installed. The Beta1 of VS2008 has been uninstalled.

Thanks.

# July 30, 2007 9:30 AM

Paul Domag said:

Same here, I can't add the items in the toolbox. Though there's no error after adding the System.Web.Extensions.dll (but still no items in the toolbox shows up)

# July 30, 2007 6:30 PM

Bilal Haidar [MVP, MCT] said:

Two good posts by the Web Development Tools team that you should read if you are already working on AJAX

# July 31, 2007 2:02 AM

Mads said:

It seems that the items actually are added to the toolbox but not available in the context.

If you right-click on the toolbox and select "Show All" the AJAX 1.0 components are visible but not useable.

So maybe its just a matter of configuration of the current web application to get access to the added AJAX 1.0 components.

Any help on this is much appreciated!

Thanks.

# July 31, 2007 4:04 AM

Steve Naughton said:

I've just done a fresh install of Windows Vista Ultimate 32bit installed VS2008 Beta2 as per ScottGu's blog instructions and then installed VS2005.

I am following the above instructions "Step Two:  Install ASP.NET AJAX 1.0 Controls to the VS 2008 Toolbox" but after browsing to the "System.Web.Extensions.dll" the copenents do not appear in the list and no Icons appaer in the toolbox.

The same as the guys above :-(

Steve

# July 31, 2007 11:11 AM

Wizzard said:

PS I've just checked oput what Mads said "If you right-click on the toolbox and select "Show All" the AJAX 1.0 components are visible but not useable" and mine are not there only an empty tab the 3.5 AJAX extensions are there when you show all.

Steve

# July 31, 2007 11:16 AM

Wizzard said:

Re AJAX Extensions and Toolkit not appearing.

If I add my own custome controls they appear :-/

Still puzzled

# July 31, 2007 11:21 AM

Wizzard said:

Experimenting further if I try and add the AJAX Toolkit for .Net 3.5 it does'nt appear in the toolbox either.

Steve

:-/

# July 31, 2007 11:28 AM

Wizzard said:

The plot thickens In VS2005 I now have AJAX Extensions 3.5 showing and cannot add toolkit or extensions for ASP.Net 2.0

Steve

# July 31, 2007 11:37 AM

Paul Domag said:

Does the Ajax ASP.Net team even monitors this post? Can't seem to hear anything. A confirmation of the bug would be very helpful....

# July 31, 2007 4:03 PM

Marco said:

I'm experiencing the same symptoms as Mads.

The items only show up when you do 'show all' and the are grey-ed out for usage on a website project that targets the 2.0 framework.

# July 31, 2007 6:20 PM

More Wally - Wallace B. McClure said:

Ok, I did a couple of things with Visual Studio 2008 today. I rolled back my web config from a web folder

# July 31, 2007 8:42 PM

Wizzard said:

I've uninstalled AJAX Extensions 1.0 from my PC and the 3.5 AJAX Extensions in VS2005 disappear, and when I reinstall the 1.0 Extensions the 3.5 Extensions reappear. and this is in VS2005 not VS2008.

# August 1, 2007 3:23 AM

Javier Martínez said:

I have the same problem: AJAX Extensions 1.0 don't appear. I only can view it when select 'Show all', but it appear grayed.

# August 1, 2007 3:27 AM

Wizzard said:

Right I fixed VS2005 not showing the correct AJAX Extensions in the toolbox.

What I did was reinstall the AJAX Extensions 1.0 and then ran the "DisableAjaxPolicy.CMD" command file (as adaministrator on vista). but still the same in VS2008

Steve :-(

# August 1, 2007 3:31 AM

Cameron said:

I am also experiencing the issue where the AJAX 1.0 controls do not show up in the toolbox after following these steps. I also tried adding the web.config from above to my project, recompiling and then re-adding the AJAX 1.0 controls to the toolbox with no success. The controls are there when I do Show All but I can not access them. Using intellisense I added the ScriptManager and an UpdatePanel to my page and then I get compile errors telling me that the namespace "ScriptManager" and "UpdatePanel" can not be found, even though I have the reference to the AJAX 1.0 assembly in my web.config. This is a new web project in VS 2008, targeted for the 2.0 framework. I am also using WinXP SP2 Tablet PC.

# August 1, 2007 8:46 AM

Wizzard said:

The guy who did this post I beleive is looking into this AJAX Extensions and Toolkit not showing in the toolbox he has been able to reproduce the problem on two other PC's.

So hopefully there will be a workaround or a fix soon.

Steve

# August 1, 2007 9:46 AM

WebDevTools said:

Apologies for the delay folks -- My name is Bradley and I am the original author for this post. I have been able to reproduce the toolbox issue and I believe I (finally) understand the cause. I did not see this on the machine I used to write the steps for this blog post due to a subtle difference in machine configuration (I was missing a registry key that your machines will have).

Here is a proposed workaround (I will edit my post tonight to call this out as well), but it has some side effects too:

WORKAROUND:

1. Close VS 2008

2. Go to \Program Files\Reference Assemblies\Microsoft\Framework\v3.5

3. Make a backup copy of these two assemblies somewhere on your machine, say under C:\Temp:

- System.Web.Extensions

- System.Web.Extensions.Design

4. Remove these assemblies from  \Program Files\Reference Assemblies\Microsoft\Framework\v3.5.

Now you should be able to add AJAX 1.0 controls to the Toolbox per the instructions in the post above.  

Additionally, it appears that this workaround eliminates some of the other "important note" issues mentioned above.  Specifically:

FIXED - VS will now prompt to upgrade or not upgrade when opening an AJAX 1.0 Website.  You can choose "No" to this prompt to keep the site at 2.0 (without applying the exclude/downgrade/include workaround described above).

FIXED - Dragging an AJAX 1.0 control from the Toolbox to a page in a 2.0 app no longer warns and adds a 3.5 @Register directive to the page.

There are some drawbacks to removing System.Web.Extensions 3.5 from the Reference Assemblies folder, however.  Specifically:

BROKEN - Creating a new 3.5 Web Application Project has a "broken" reference to System.Web.Extensions 0.0.0.0 in the client references list (Project Properties > References).  In order to correct this, you need to manually remove this reference, then Browse... to the location of the System.Web.Extensions 3.5 backup you made in step 3 above to add the reference back to the project.

BROKEN - When upgrading a Web Application Project that uses AJAX 1.0 to .NET Framework 3.5, VS doesn't remove the reference to System.Web.Extensions 1.0.6 in the client references list (Project Properties > References).  You need to manually remove this reference and then Browse... to the location of the System.Web.Extensions 3.5 backup you made in step 3 above to add the reference back to the project.

If you can accept the the two "BROKEN" issues above, then the AJAX 1.0 targeting experience in Beta 2 is much better with this new workaround applied.  Let me know if you try this out and encounter other issues, and I'll investigate further.

Please also be assured that VS 2008 RTM will *not* require these workarounds.

Thanks,

Bradley

# August 1, 2007 10:08 PM

Cameron said:

Thanks Bradley!

That worked for me, I was able to add the controls to the toolbox and compile. One other thing I did have to do was add the references to the 1.0 System.Web.Extensions and Design DLLs, dragging the controls onto the page did not add them for me.

Overall I really like this editor though, Visual Studio remains one of the best code editing tools around.

- Cameron

# August 1, 2007 11:01 PM

Felipe Ferreira said:

Hey!

Thanks Bradley, it worked for me too =D

# August 2, 2007 7:47 AM

Glenn Michael said:

Bradley,

The workaround allowed me to create both Extensions collections (v1.0 & 3.5) and both Toolkit collections, in the toolbox of my Visual Web Developer 2008 B2. Thanks...

Glenn Michael

# August 2, 2007 9:09 AM

Jozef Sevcik said:

Thanks Bradley, it's working perfectly now, I'm glad I can use VS2008 for my daily development now.

Thanks again !

# August 2, 2007 5:39 PM

Timo said:

There is still something in my environment that prevents showing the both AJAX Extensions and AJAX Control Toolkit in my toolbox. I have followed the instructions by first copying the two dll's to different location, deleting them and then manually creating the new tabs (AJAX Extension, AJAX Toolkit). Then I locate the System.Web.Extensions.dll in \Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025 and click Open but nothing is added to toolbox. Same issue with AJAX Control Toolkit.

# August 3, 2007 2:06 AM

JimmyZhang said:

这篇文章中,来自微软开发团队的 ScottGu 讲解了 VS2008 和 .Net 3.5 框架的一些新特性,以及下一代 Asp.Net Ajax 的介绍 和 需要注意的问题。

# August 4, 2007 12:33 AM

More Wally - Wallace B. McClure said:

Master Pages There is a new default master page. The new default masterpage has content place holders

# August 4, 2007 12:39 AM

Steve said:

As with Timo, this doesn't work for me, I'm unable to see the assemblies added, even after the delete, it still tries to add v3.5 to my toolbox, not the v1.0.61025

I had VS2005 installed.  My project is a framework 2.0 project running under VS2008

# August 4, 2007 8:59 AM

ScottGu's Blog said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:11 PM

BusinessRx Reading List said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:30 PM

ASP.NET said:

It has been a little over a week since we released Beta 2 of VS 2008 and .NET 3.5 . So far the feedback

# August 4, 2007 3:51 PM

Glenn Michael said:

Well, I'm having serious problems w/ VWD 2008 B2 running a ASP.NET AJAX 1.0 Website, targeting .NET Framework 2.0.

The issue is excessive memory usage (229,580K) & 100% CPU usage every couple of hours while editing and running in the debug mode. The entire editing process seems a lot slower then VS2005. My box is a Pentium 4, 2GHz, w/ 768MB RAM running XP SP2.

I cannot find c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE>devenv /resetsettings, that Scott references - I don't seem to have any window placement problems, just slugish operation. Otherwise I think that I have followed all of the directions available for setup including the instructions in this post.

Any ideas? I'm going to have to go back to VS2005 until I get some help with this.

Thanks in advance.

Glenn Michael

# August 5, 2007 12:01 AM

Glenn Michael said:

See my post above.

The referenced box  has the following installed side-by-side.

VS2003 7.1.3088

.NET Framework 1.1.4322 SP1

VWD2005 8.0.50727.762 (SP.05727.7600)

ASP.NET AJAX 1.0

.NET Framework 2.0.50727 SP1

VWD2008  9.0.20706.1 Beta 2

.NET Framework 3.5

No VS 2008 or VWD 2008 CTPs or Beta 1s  were ever installed.

Glenn Michael

# August 5, 2007 11:21 AM

WebDevTools said:

Hi Glenn Michael,

I'm sorry that you are experiencing performance issues with VWD2008 Beta2.  Our goal is to have VWD 2008 perform as well or better than VWD 2005.

If you would permit, the VWD team would like to investigate the issues you are seeing.  If that is something you can help with, please contact me at omark-at-microsoft-dot-com.

Thanks,

Omar

# August 6, 2007 1:37 PM

matthewhill said:

I can't add both the .NET 2.0 and 3.5 AJAX Control Toolkit components to the toolbox. I used the .NET 2.0 dll and the 3.5 dll but it only adds some of the controls to the second tab. It doesn't matter which order I install them it ends up with the same reduced list in the second set.

The only way around it so far is to use different releases of the controls i.e. 10301 & 10618

# August 7, 2007 9:19 PM

atarikg said:

Thanks sir. It is what excatly i want ;)

# August 8, 2007 12:35 PM

merk said:

Hello,

Following your last update regarding removing those dll's, i was able to add the controls to the toolbox. However, when ever i drag a 1.x control onto a page, it adds an assembly reference to 3.5 to the page. I have to remove that and then it seems to work.

Any ideas why its adding that?

# August 8, 2007 1:40 PM

SergioTarrillo's RichWeblog said:

Hace unas semanas fue liberado Visual Studio 2008 Beta 2, Orcas : Visual Studio 2008 Beta 2 Express Editions

# August 9, 2007 4:58 AM

Sir Crabs said:

THANKYOU for this very easy to follow guide. And thankyou again for your update for enabling the AJAX controls that were all greyed out.

# August 9, 2007 11:29 AM

Jay said:

I'm having a sort of different problem.  I'm running VS2008 B2 on Windows server 2008 b3 and all I get are HTML controls in the toolbox.  No standard controls or nothing.  I'm I doing something weird?

# August 9, 2007 10:17 PM

WebDevTools said:

Hi Jay,

That is a different issue, there's a blog post on it:

http://blogs.msdn.com/webdevtools/archive/2007/08/03/orcas-beta2-gotcha-no-asp-net-controls-in-toolbox-no-asp-net-intellisense-validation-on-pages.aspx

Hope that helps.

--Omar

Group Program Manager

Visual Web Developer Team

# August 10, 2007 2:52 AM

林西 said:

术语表

Framework:框架

feature:特性

built-in:内置的

application:应用程序

toolbox:工具栏

ServerControl:服务器控件

Ve...

# August 15, 2007 2:43 AM

Mike said:

So, I'm not sure _this_ issue is resolved:

---------------------------

Microsoft Visual Studio

---------------------------

The Framework version required by assembly 'AjaxControlToolkit.dll' or one of it's dependencies is higher than the project target framework version.

Would you like to add this reference to your project anyway?

---------------------------

Ja   Nee  

---------------------------

I don't understand if this is related or not, but there one other commenter that has the same problem.

# August 17, 2007 6:06 AM

Codematic said:

Ajax 1.0 (.Net2) Anwendungen mit VisualStudio 2008 Beta2 erstellen

# August 19, 2007 10:26 AM

KidYang said:

【原文地址】ASP.NETAJAXin.NET3.5andVS2008

【原文发表日期】Monday,July30,200712:06AM

在过去,我曾在《VS2...

# August 24, 2007 9:17 PM

肖永志 said:

【原文地址】ASP.NETAJAXin.NET3.5andVS2008

【原文发表日期】Monday,July30,200712:06AM

在过去,我曾在《VS2...

# August 24, 2007 9:18 PM

Lisa said:

Hello,

I am trying to install AJAX 1.0 under VS 2005.

It's adding AjaxControlToolkit.dll,System.Web.Extensions.dll

but giving error while adding AJAXExtensionsToolbox.dll

ERROR - "There are no components in C:/.../ AJAXExtensionsToolbox.dll  that can be placed on toolbox"

Please help me to install this dll.

Thanks

# August 29, 2007 1:09 AM

Steve Phan said:

Hi,

I followed the steps in this post. But when I open my 2.0 solution (contains both asp 2.0 + ajax 1.0 website & some 2.0 projects), VS 2008 doesnt prompt me the update form. From the conversion log I can see, all that VS 08 update is the solution & projects files.

I can still run my website from VS 05. Is this behaviour normal? I dont want to deploy the application to our server just to test it.

Many thanks.

# September 4, 2007 6:59 AM

WebDevTools said:

Hi Steve --

VS should have prompted you to upgrade your Web project(s) if it detected the project was created with VS 2005 and had not been previously opened in VS 2008.  After it prompts once, it will not prompt again the next time you open the project.

Can you go to project properties and check whether VS thinks your project is 2.0 or 3.5?  It should still be 2.0.

--Bradley

# September 4, 2007 3:00 PM

IMustDo said:

.NET 3.5和VS 2008中的ASP.NET AJAX

# September 6, 2007 10:56 AM

jshollax said:

Anyone have issues entering text in a table inside of an updatepanel? When I type text in the designer mode vs2008 crashes.

# September 10, 2007 2:01 PM

CW said:

I added Ajax all after the fact - after I started using VS2008.  Naturally mine won't work as describe...uninstall and try again or is there a workaround?

# September 19, 2007 2:04 PM

Asif Ashraf said:

hi

im Asif Ashraf MCP, MCAD.Net

You have solved my problem BRAVO!~! Thumbs up!!!

Greatest post...

15 out of 10

Thanx you are *****

:P

keep it up

# September 25, 2007 2:03 AM

renasis said:

I followed the above steps, but everytime add  1.0.61025.0 system.web.extensions.dll, select the ajax extensions, hit [OK], VS2008 crashes. Any ideas?

# October 7, 2007 1:03 AM

Al Pascual said:

Must read and must follow. This is the recommendation from Scott Guthrie! Doing it this weekend I have

# November 23, 2007 11:47 AM

谢真平 said:

【原文地址】ASP.NETAJAXin.NET3.5andVS2008

【原文发表日期】Monday,July30,200712:06AM

在过去,我曾在《VS2...

# December 21, 2007 8:20 PM

rox19840702 said:

.NET 3.5和VS 2008中的ASP.NET AJAX

# February 27, 2008 11:31 AM

Jerson Ju said:

vs2008多定向2.0 framework开发asp.net ajax 1.0站点发布到虚拟主机常见问题。

# May 10, 2008 12:52 PM
New Comments to this post are disabled
Page view tracker