Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / December 2007

Tip: Looking for answers? Try searching our database.

AJAX Control Toolkit

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GeoffreyD - 11 Dec 2007 10:26 GMT
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:Accordion ID="Accordion1" runat="server">
</cc1:Accordion>
However the examples display:
<ajaxToolkit:Accordion>...
How do I get Visual Studio to use the same reference?  cc1 doesn't mean much
to anyone.
Mick Walker - 11 Dec 2007 10:39 GMT
> Hi
>
[quoted text clipped - 7 lines]
> 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="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

Change it to:
<%@ Register Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

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 <controls> node:

<add tagPrefix="ajaxtoolkit" namespace="AjaxControlToolkit"
assembly="AjaxControlToolKit"/>

Kind Regards
Mick Walker
GeoffreyD - 11 Dec 2007 13:39 GMT
Hey

Thanks, that helps :)

>> Hi
>>
[quoted text clipped - 26 lines]
> Kind Regards
> Mick Walker
Braulio Diez - 11 Dec 2007 12:55 GMT
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
/// ------------------------------

> Hi
>
[quoted text clipped - 7 lines]
> How do I get Visual Studio to use the same reference?  cc1 doesn't mean much
> to anyone.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.