
I am using Visual Web Developer 2008 Express Edition with the 3.5 Framework. I recently downloaded the AJAX Control Toolkit via. Followed the instructions for installation and successfully loaded all the tools onto my toolbox in VWD.
However, when I click and drag any of the new AJAX Control tools over onto my code, VWD doesn't recognize the cc1 tags and I get the following errors: Warning 1 Unrecognized tag prefix or device filter 'cc1'. Error 2 Unknown server tag 'cc1:accordion'. I'm not sure what I've done wrong. I followed along with the installation video - went through it several times even. When I downloaded the AJAX Control Toolkit, I downloaded the 'AjaxControlToolkit.zip' which is said to be 'the full release package with complete source code to all controls, the test framework, VSI, and more.' Now then, in my searching I've found this solution here on experts-exchange: I've searched and found the System.Web.Extensions.dll and added it to my bin file, still no luck.
Ajax Control Toolkit Accordion Sample
However I noticed in the above solution that the 'ajax library' is mentioned as a seperate download. Is this 'ajax library' not included in the AJAXControlToolket.zip? If it's not, where should I install the library?
Installing AJAX on Windows Server / AJAX Toolkit installing AJAX within IIS. Visual Studio 2008 is built on, has MS Ajax in. In the Ajax Control Toolkit.
If it is included in the AJAXControlToolket.zip, do you have any ideas as to what my issue may be? Thanks for the help.
Devexpress Ajax Control Toolkit
Attached is simple application throwing the error, followed by web.config file.
However, it's possible I downloaded the wrong one. Is there a way that I could check which version I downloaded?
Also, I must have goofed with my copy/paste on the attached code above. The actual page looks like this: see attached. When I drag one of the controls onto the work area, VWD automatically creates a bin folder and fills with with some 15-20 AjaxToolKit.dll files. It also creates the following line at the same time: <%@ Register Assembly='AjaxControlToolk it' Namespace='AjaxControlTool kit' TagPrefix='cc1'% <%@ Page Language='C#' AutoEventWireup='true' CodeFile='Default.aspx.cs' Inherits='Default'% <%@ Register Assembly='AjaxControlToolkit' Namespace='AjaxControlToolkit' TagPrefix='cc1'%
Hi P1ST0LPETE, Try this also. In your web.config file, under, you have 2 elements (Lines 83 and 84).
Add the following also as another element under it: If this works as expected, it won't add <%@ Register Assembly. Tags on top of the page markup, instead it will use the normal 'asp:' tag prefix for the toolkit controls too.
And I don't understand why you had to copy the System.Web.Extensions.dll into your bin folder. See if you have AjaxControlToolkit, System.Web.Extensions, System.Web.Extensions.Desi gn etc under 'References' of the Property Pages of the site (Right-Click on the website project's node in Solution explorer and select 'Property Pages') Hope that helps. TheLernedOne: I looked at the properties on the AjaxControlToolkit.dll and the version # is 3.0.3 Guganeshan: I added to my web.config file.
Then deleted the tag and the <%@ Regester Assembly.TagPrefix='cc 1'%. Next dragged a new Accordion control over, and it placed it on the page as expected as. However, I am now getting the error and warning that Element Accordion and server tag asp:Accordion are not known. The reason why I coppied System.Web.Extensions.dll into the bin folder was because I just didn't know any better, and I was following the advice from the expert answer in the linked solution in my original post. I did go into Property Pages References, and this is what is listed: Reference Name Type Version AjaxControlToolkit BIN Auto Update System.Core GAC 3.5.0.0 System.Data.DataSetExtensi ons GAC 3.5.0.0 System.Design GAC 2.0.0.0 System.Web.Extensions GAC 3.5.0.0 System.Web.Extensions.Desi gn GAC 3.5.0.0 System.Windows.Forms GAC 2.0.0.0 System.Xml.Linq GAC 3.5.0.0 So from the looks of this, I already had the System.Web.Extensions.dll applied to my website and didn't have to copy it into my Bin folder. At any rate, things are still not working. Ok, I Just created a new website.
Added a TextBox. Clicked on the TextBox and then clicked on the arrow to add an extender. Extender list came up with all the available options. Clicked on Slider Extender. Extender was added.
Switch back to code view and got an error on the 'cc1' tag prefix again, followed by a bunch of warnings on all the attributes within the extenter tag.I've been reviewing the setup instructions found. On step #1 under 'Configure Visual Studio 2005 and Visual Web Developer', I don't have a template called 'ASP.NET AJAX Web Site' under 'My Templates'. When I installed the AjaxControlToolkit, I just skipped that step, and did steps 2-5. Did you do these steps (I didn't)? Installing AJAX Control Toolkit Templates 1) In the folder where you installed the AJAX Control Toolkit package, you will find a folder called 'AjaxControlExtender' with a file called 'AjaxControlExtender.vsi' inside it - double-click AjaxControlExtender.vsi to install it 2) Choose which templates you would like to install, then click 'Next', then 'Yes' to allow the unsigned content (note: as a public project, this content can't be signed by Microsoft), then 'Finish' 3) You have now installed the templates are ready to create your own Toolkit-based web site or ASP.NET AJAX Extenders! I see we are having the exact same issue. (Maybe we can figure this out together).

The main difference I see between our issues is that one of us is using express and the other the full version. This makes me wonder if there is an issue with this version of the toolkit. I have the express 2008 version installed on my home machine and I checked it out last night.
It does work okay, but I noticed the toolkit was the previous version; not the version we are both trying to install. I am going to re-install VS2008 again and see what happens. Okay, I got it to work from another post I had on ASP.NET forums. The person recommended I add the extender in a different order. Try this: - Create a new regular 3.5 website - Go to the design side of the starting default.aspx page. Add something simple like a Panel - Now from the smart control of the Panel, choose 'add extender' and choose a drop shadow.
The AjaxControlToolkit.DLL will auto-add to the BIN folder. Now add the script manager and test run the site. Mine worked this time.
Don't know why it wouldn't work the other way. I've used the old method adding the.dll file manually a dozen times in the past. I tried your method cciservices - didn't work for me. Attached is my web.config file after following cciservices method. I also compared my web.config file to that of the AjaxControlToolkit.sln's web.config file - couldn't find one spot where they were different.
So once I converted the project to 3.5, there was no problem for me (before that, the extenders in the toolbox were not visible for me). I'm not sure about Visual Web Developer though So just try this. Right-Click on the website project's node in Solution explorer and select 'Property Pages' 2. Select 'Build' 3. Make sure the target framework is '.NET Framework 3.5' Note: I tested with the latest AjaxControlToolkit version 3.0.20229.0 for.NET framework 3.5 Hope that helps.