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.)

Leave a Comment

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