473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

"ASP.NET AJAX-Enabled Web Site" or "AJAX Control Toolkit Web Site"?

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>

As soon as I have entered the first control from the AJAX toolkit to a
type 1 website, I notice that the code in the /bin folder is bloated.

Am I right in thinking that the main (only?) advantage of type 1 is
that one doesn't need to use the Ajax toolkit (and may save oneself
the trouble of (automatically) adding the supporting dlls to one's
site?

I am inclined to use type 2 because:
a) I'll probably always use at least one control from the toolkit,
b) I think <ajaxToolkit:SomeControl></ajaxToolkitis more meaningful
than <cc1:SomeControl></cc1>,
c) I have gigabytes of spare room on my server anyway.

Mar 23 '07 #1
1 1738
Type 2 contains everything that Type 1 contains plus a bunch of extra
controls and stuff.
So if you want to use some of the extra the extra controls (and it sounds
like you do) then choose Type 2.
If you're concerned about bloat (which it sounds like you're not) and you
don't need the extra controls then choose Type 1.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
Author of "Beginning ASP.NET 2.0 AJAX"
"mark4asp" <ma******@gmail.comwrote in message
news:11**********************@p15g2000hsd.googlegr oups.com...
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>

As soon as I have entered the first control from the AJAX toolkit to a
type 1 website, I notice that the code in the /bin folder is bloated.

Am I right in thinking that the main (only?) advantage of type 1 is
that one doesn't need to use the Ajax toolkit (and may save oneself
the trouble of (automatically) adding the supporting dlls to one's
site?

I am inclined to use type 2 because:
a) I'll probably always use at least one control from the toolkit,
b) I think <ajaxToolkit:SomeControl></ajaxToolkitis more meaningful
than <cc1:SomeControl></cc1>,
c) I have gigabytes of spare room on my server anyway.
Mar 24 '07 #2

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

Similar topics

6
by: owen | last post by:
Generally speaking, what does it mean when I see a "button" with red text showing this message instead of the control I've dragged onto the web form in Design View.? (But the page works fine at...
8
by: Don Miller | last post by:
I've been extensively modifying a web application (ASP, COM+) to take advantage of the XMLHTTP object for asynchronous requests (e.g. Ajax) on my dev machine (Win2KPro). I test the application from...
0
by: Gazelle | last post by:
I have a dilemma, that I am hopping I can find some help with. He is the back story so everyone sort of understands what it is that I am trying to accomplish. My problem: I have multiple...
7
by: Larry Bud | last post by:
More of a design question than technical.... combining Ajax technology with ASP... Top portion of the page contains several Select boxes which are dependant upon one another. Ajax handles that...
4
by: keithb | last post by:
It looks like the span tag cannot be used with asp tables. What is the best way to make an irregular asp table? Thanks, Keith
6
by: blueapricot416 | last post by:
I have some javascript in a standard HTML page that uses the ubiquitous "XMLHttpRequest" to send data to a remote ASP page. If that page "answers back" by sending a string using a simple...
1
by: Electric Co. | last post by:
Hello, I have two questions: 1.) Could I create a custom server control in 2005 in order to leverage the CompositeControl base class and then use that control in 2003? (fingers crossed but...
3
by: caston | last post by:
Well, everybody can now agree with the fact that the Ajax hype is over. Still multiple Ajax Frameworks are flourishing, aren't they? So, last night I questioned myself with the following: "When...
2
by: pe3no | last post by:
Hi, I'm going to create applications PHP + AJAX + Linux + Apache + Postgres. - Other Open Source technologies / Frameworks, etc. also :) Is this book http://www.amazon.com/gp/reader/0471777781...
11
by: Jonathan Wood | last post by:
Can anyone point me to any good resources on adding AJAX to a page once the page has already been created? I know VS2008 has options to add AJAX pages, but I didn't select those options when the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...
0
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...

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.