473,626 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AJAX Control Toolkit

Hi

I installed the Ajax Control Toolkit according to the instructions, and
added the controls to my toolbox. However, when I drag a control onto my
aspx page, it reads something like:
<cc1:Accordio n ID="Accordion1 " runat="server">
</cc1:Accordion>
However the examples display:
<ajaxToolkit:Ac cordion>...
How do I get Visual Studio to use the same reference? cc1 doesn't mean much
to anyone.
Dec 11 '07 #1
3 13190
GeoffreyD wrote:
Hi

I installed the Ajax Control Toolkit according to the instructions, and
added the controls to my toolbox. However, when I drag a control onto my
aspx page, it reads something like:
<cc1:Accordio n ID="Accordion1 " runat="server">
</cc1:Accordion>
However the examples display:
<ajaxToolkit:Ac cordion>...
How do I get Visual Studio to use the same reference? cc1 doesn't mean much
to anyone.

There will be a line at the top of your aspx page that reads:
<%@ Register Assembly="AjaxC ontrolToolkit"
Namespace="Ajax ControlToolkit" TagPrefix="cc1" %>

Change it to:
<%@ Register Assembly="AjaxC ontrolToolkit"
Namespace="Ajax ControlToolkit" TagPrefix="ajax Toolkit" %>

You'll also have to update the tags of any items you have already added
to the page.

To save having to do this for every single page, you can add the
following to your web.config file under the <controlsnode :

<add tagPrefix="ajax toolkit" namespace="Ajax ControlToolkit"
assembly="AjaxC ontrolToolKit"/>
Kind Regards
Mick Walker
Dec 11 '07 #2
If it works don't bother quite much about it. Maybe the docs that you are
checking belongs to an older version of the toolkit (a lot of material is
based on the ATLAS beta version).

Good luck
Braulio

/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------


"GeoffreyD" wrote:
Hi

I installed the Ajax Control Toolkit according to the instructions, and
added the controls to my toolbox. However, when I drag a control onto my
aspx page, it reads something like:
<cc1:Accordio n ID="Accordion1 " runat="server">
</cc1:Accordion>
However the examples display:
<ajaxToolkit:Ac cordion>...
How do I get Visual Studio to use the same reference? cc1 doesn't mean much
to anyone.
Dec 11 '07 #3
Hey

Thanks, that helps :)
"Mick Walker" <ma**********@p rivacy.netwrote in message
news:5s******** *****@mid.indiv idual.net...
GeoffreyD wrote:
>Hi

I installed the Ajax Control Toolkit according to the instructions, and
added the controls to my toolbox. However, when I drag a control onto my
aspx page, it reads something like:
<cc1:Accordi on ID="Accordion1 " runat="server">
</cc1:Accordion>
However the examples display:
<ajaxToolkit:A ccordion>...
How do I get Visual Studio to use the same reference? cc1 doesn't mean
much to anyone.
There will be a line at the top of your aspx page that reads:
<%@ Register Assembly="AjaxC ontrolToolkit" Namespace="Ajax ControlToolkit"
TagPrefix="cc1" %>

Change it to:
<%@ Register Assembly="AjaxC ontrolToolkit" Namespace="Ajax ControlToolkit"
TagPrefix="ajax Toolkit" %>

You'll also have to update the tags of any items you have already added to
the page.

To save having to do this for every single page, you can add the following
to your web.config file under the <controlsnode :

<add tagPrefix="ajax toolkit" namespace="Ajax ControlToolkit"
assembly="AjaxC ontrolToolKit"/>
Kind Regards
Mick Walker

Dec 11 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1750
by: mark4asp | last post by:
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd, those controls are: <ajaxToolkit:SomeControl></ ajaxToolkit>
2
1449
by: =?Utf-8?B?U2VyZ2V5IFBvYmVyZXpvdnNraXk=?= | last post by:
Hi, I am a newbie in AJAX technologies. For my application I need a combination of ListSearchExtender and FilteredTextBox control. I have downloaded the toolkit with source code, and seem to have an understanding on where to modify the controls in order to achieve what I need. I do not want to modify the toolkit source directly as those changes will be overwritten when the next update/version of AJAX will come out.
2
3807
by: Mike P | last post by:
Whenever I startup an Ajax Control Toolkit Website I get the following error: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. C:\Inetpub\wwwroot\LBM_CallRecordings2\web.config 31 Can anybody help? Any assistance would be much appreciated.
4
6270
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I am just stating to use ajax, and have a perfect place to use the accordion control. I have it working fine, but need to have a normal asp button in one of the panes that fires an onclick event as normal. The button works fine outside of the pane, but once I put it in the pane it no longer fires the event. How can I get a button in the accordion to run a function on the server on the onclick event? Thanks.
2
1586
by: Cirene | last post by:
3 quick questions... 1. Are the controls in the AJAX Futures download "beta" or the release and stable version? 2. Also, where is the best way to learn how to implement these? (Other than by downloading the stuff at asp.net/ajax.) 3. When will the new version of AJAX be out? Will it be included with the Visual Studio 2008 release?
2
8268
by: kai | last post by:
Hi, I installed VS 2008 Professional Final version. I followed Joe Stagner video try to install Ajax Control Toolkit 3.5 into Toolbox, then I get an error message: "The following assemblies are installed SDK asssemblies, but could not be shown in customize toolbox dialog because they are missing one or more components, Please make sure that all necessary libraries are available: Microsoft.ReportingServices.Interfaces.dll"
2
14455
by: =?Utf-8?B?Q2VzYXI=?= | last post by:
I have the ASP.NET 2.0 AJAX Extensions 1.0 installed (v1.0.61025). As to the web.config file, I'm using the one created using the ASP.NET AJAX-Enabled website ... This error is due to that I'm trying to use the AJAX control toolkit, but when I try and add the controls to the toolbar of VS2005 from the dll, I get this error: C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0...
5
3094
by: simon | last post by:
hello, I have a server set up on my local (home) network and can not get an ajax application to run on the box. it works fine on our developement server and also works fine locally. I copied the application to the server, setup the website, installed the ajax extensions, also loaded/enabled front end extensions so i could load the site in visual studio 2005. when i attempt to run the site, either from the server or from another pc...
8
2724
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly. In certain cases (only) it renders but is dead - does not initialize. Before the migration it worked, no changes have been made. Here is the complete scenario description:
1
3275
by: nehalsmistry | last post by:
Hello.. I am using visual studio 2005. So there is framework 2.0 Now I m using ajax toolkit for 2.0 and installed it. But there is no option like Asp.net ajax enable website. But there is 1 option like Ajax control toolkit website. When i select this website then in default.aspx page there is one control like script manager. but in that also there is error. Its display like this: Error Creating Control- ScriptManager1 Unkown server...
0
8203
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8711
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8642
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8368
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8512
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7203
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4206
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2630
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.