• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1534
  • Last Modified:

AJAX Toolkit not installing correctly

I downloaded and installed AJAX for ASP.NET 1.0, then I went and downloaded the AJAX Toolkit. In the toolkit, I ran the file in AjaxControlExtender (AjaxControlExtender.vsi), said yes to all templates, and it seemed like it installed fine. I still dont see any of the toolkit controls in my toolbox in VS.NET 2k5. I've been scouring google, and I can't find anything to address this. Please help!

The only items in my toolbox for AJAX right now are the common 5 or 6 that come with the technology download. I have tried opening and closing VS, and even rebooted the machine.

Thanks!
0
nuvium
Asked:
nuvium
  • 3
  • 2
  • 2
  • +1
2 Solutions
 
UnexplainedWaysCommented:
It wont just install into Visual.

You need to get the dll, and add a reference to it.  Then you need to modify your web.config to include all the extra stuff you need.

Download the sample projects and have a look at how they set it up.
0
 
chinu1310Commented:
Yeah thats true.
you have to add the ajaxtoolkit.dll
Than you have to ad reference to that dll.
Add the some page directives.
And setting some variable in web.config

Download some sample code from here.
http://www.asp.net/learn/ajax-videos/

And see in the code where the modifications has to be made.

hope it helps.
0
 
Swapnil PipariaArchitectCommented:
Hi nuvium,

    Ajax control toolkit comes in form of dll it did not install dll and add it in toolbox automatically. you need to do it manually by going to visual studio and add AjaxControlToolkit.dll (which is in the same folder where Ajax is installed) reference in to toolbox to add in toolbox.

and for that you need to download AjaxControlToolkit.zip from following URL

http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=4923

take AjaxControlToolkit.dll from this and add it in to toolbox by giving reference to this dll

AjaxControlExtender (AjaxControlExtender.vsi) is used to extend new controls for Ajax.

Regards,
NetSwap.
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
nuviumAuthor Commented:
I've added a reference to the toolkit dll to the actual website I am working on, and made the adjustments to the webconfig, but how do I actually 'add' it to the toolbox so I can drop and drop extended controls? I guess thats where I am getting lost.
0
 
UnexplainedWaysCommented:
I once managed to get it into the toolbox by adding the dll to the side, however i couldn't drag and drop the rest of the toolkit items onto the page.

There is a few you can that should be ont he side, like scriptmanager and update panel etc
0
 
Swapnil PipariaArchitectCommented:
Hi nuvium,

Have you added "AjaxControlToolkit.dll" reference in toolbox?
Then you should find plenty of controls like Accordian, AutoComplete, popupextender etc... which is draggable in UI.

Regards,
NetSwap.
0
 
nuviumAuthor Commented:
Every time I try I get the error : There are no components in 'C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\AJAXExtensionsToolbox.dll" that can be placed on the toolbox. I added in the web.config changes they told me to and added a reference to the toolbox into the website, and I still can't use anything in the toolkit. Since I can't get it to show up in the toolbox, I just manually added the control AjaxToolkit:Calendar and it doesnt recognize it.

How in the hell is this so difficult for me, I must be doing SOMETHING wrong.
0
 
chinu1310Commented:
Ok make sure following things.

First in your aspx page

<%@ Register
Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit"
TagPrefix="ajaxToolkit" %>

Than in web config.

You must have Httphandlers and http modules

Than reference of Ajaxtoolkit.dll and ajax.dll

Is these all present in your project ?
0
 
chinu1310Commented:
Did it work ?
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now