Ajax Control Toolkit - Controls Disabled in Tool Box

Having my PC broken, I had to work on another machine. I downloaded Visual Web Express and Ajax Control Toolkit. I installed the toolkit as described by Nannette. But nothing appeared on my toolbox. Thinking that I might have missed something, I tried to repeat the process. When I was giving the name during the tab creation step, VWD responded by saying that

Tab name 'Ajax Control Toolkit' already exists.

I was surprised to know that the tab has been successfully created but it was not dislayed. Playing around with different options, I clicked 'Show All' option. This option comes when you right click on the empty area of general tab. Checking this option showed me a number of tabs which I haven't seen earlier.

This also showed me my 'Ajax Control Toolkit' tab. But all the options (controls) in this tab disabled (grayed out). I had code view of a aspx page opened on the screen. Thinking that these might get active on the design view, I switched to it. But this did not worked.

Then I restart VWD and opened the website again. But still these are grayed out. Finally I shut down the PC calling it a day. Next day, when I opened the project again, all ajax tab were there and all controls were enabled.

So, if you are also facing the same error, do the following.

  1. Restart Visual Web Express. If it does not work,
  2. Restart the Pc.

I also found one more solution somewhere on the net later on. This is described below:

  1. Close VWb and any other express product installed running such as Visual C# EE.
  2. Open windows explorer and navigate to the
    'C:\Documents and Settings\<your user name>\Application Data\Microsoft\VWDExpress\9.0'
    folder. You might have to enable 'Show Hidden Files' under the folder options' View tab.
  3. Delete any .pdb file, you found in this folder.
  4. Start VWD and reinstall the ACT as described here.

By the way, In one of the comments on nannette blog, skain said,

"Am I the only one who thinks it is utterly ridiculous that we're supposed to use a dll from the WebSite project as the main reference for the toolkit?  Why isn't this in a separate class library project?"

skain, I also agree with you. I think that there should be some installer package that will do all this on a single click.

 

 

 

Published Monday, October 27, 2008 9:49 PM by Yanesh Tyagi

Comments

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Monday, October 27, 2008 11:27 AM by todev

Nice post.

Installing ACT is a real hurdle. I agree with you that they should have an installer like msi for ACT. But I surprise why don't they bundle this with VS or VWD itself.

Hope this will be an integrated part of VS 2010.

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Tuesday, May 05, 2009 6:06 AM by yochevedd

I have also the same problem with the ajax control toolkit, which are not shown untill I press the 'show all' and then- it disabled.

I tried to do your resolution, but the folder VWDExpress  in 'C:\Documents and Settings\<your user name>\Application Data\Microsoft\VWDExpress\9.0' doesn't exist in my computer.

do you have an idea for me?

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Wednesday, May 06, 2009 1:40 AM by yochevedd

I have got the resolution!!!  Just have to change the Target Franework to framework 3.5. right click on the solution-> properties pages->choose Build->change the Target framework to 3.5. That's it! (Dont forget to add the dll-ajaxControlToolKit if needs.)

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Thursday, April 29, 2010 1:51 AM by SK

thanks yochevedd. Its working for me.

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Thursday, September 09, 2010 3:49 AM by baskar

hi friends

i have another problem that when i use the ajax control of tab container or modelpopupextender it will show in the design page but its not appear in the browser pls help me

and one think this two controls only i was used. what about other control i dont know.

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Monday, January 10, 2011 7:44 AM by vindhya

Nice Post.Thanks in advance.:)

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Monday, January 31, 2011 11:51 PM by Scott

I had this hidden toolbox issue in vwd 2010 express and found that I needed to changed the target .net framework from 2.0 to at least 3.5 to get the ajax control toolkit to be enabled.

In VWD 2010 Express:

1. On the menu bar goto Website>>Start Options

2. Select Build on the left

3. Modify Target Framework on the right.

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Monday, May 09, 2011 3:17 AM by Aguirre Arellano

i had also encountered this scenario. at first, i thought that it is all about the ownership of the dll library of ACT in Windows 7 because i am not using admin account.

But when i change the framework of my project from 2.0 to 3.5 and restart the VS2008, the toolkit appear and it is not disabled anymore.

Just sharing my findings. Hope it help! :)

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Monday, May 09, 2011 3:21 AM by Aguirre Arellano

Just a follow up.. Ajax Control Toolkit when added to your project depends on your project's framework. See the corresponding dll versions on ajaxcontroltoolkit.codeplex.com for the list of match versions to your project. Happy codings!

# re: Ajax Control Toolkit - Controls Disabled in Tool Box

Saturday, August 13, 2011 7:59 AM by kartheek

I had this hidden toolbox issue in vwd 2010 express and found that I needed to changed the target .net framework from 2.0 to at least 4.0 to get the ajax control toolkit to be enabled.

In VWD 2010 Express:

1. On the menu bar goto Website>>Start Options

2. Select Build on the left

3. Modify Target Framework on the right.

Leave a Comment

(required) 
(required) 
(optional)
(required)