469,317 Members | 2,033 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,317 developers. It's quick & easy.

"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 1588
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Don Miller | last post: by
reply views Thread by Gazelle | last post: by
7 posts views Thread by Larry Bud | last post: by
6 posts views Thread by blueapricot416 | last post: by
3 posts views Thread by caston | last post: by
11 posts views Thread by Jonathan Wood | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.