J
Jim Cheshire
Kevin,
I am speaking of user controls in the context of the
System.Web.UI.UserControl class and, once again, they are not templated
controls. The second link I provided gives you the details, and that article
is not out of date. It is still very much relevant and shows you what a
templated control really is.
If you want to really understand this issue, read Nikhil Kothari's book
_Developing Microsoft ASP.NET Server Controls and Components_. (Nikhil is
widely considered the ultimate expert on this topic. I'll bet you know
why.) Nikhil says "a templated control enables page developers to specify
some or all of the UI it renders via templates." A User Control does not
fall into this category. A true templated control (such as the Repeater
control) does.
A templated control also gets its main functionality from the ITemplate
type. A User Control does not. Once again, it's important to realize that
the TemplateControl class is absolutely not synonymous with templated
controls.
As I said before, the information I have provided is accurate and I was
simply trying to give you more information about a topic which I feel you do
not fully understand. I'm not trying to get into a spitting contest with
you.
--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.
I am speaking of user controls in the context of the
System.Web.UI.UserControl class and, once again, they are not templated
controls. The second link I provided gives you the details, and that article
is not out of date. It is still very much relevant and shows you what a
templated control really is.
If you want to really understand this issue, read Nikhil Kothari's book
_Developing Microsoft ASP.NET Server Controls and Components_. (Nikhil is
widely considered the ultimate expert on this topic. I'll bet you know
why.) Nikhil says "a templated control enables page developers to specify
some or all of the UI it renders via templates." A User Control does not
fall into this category. A true templated control (such as the Repeater
control) does.
A templated control also gets its main functionality from the ITemplate
type. A User Control does not. Once again, it's important to realize that
the TemplateControl class is absolutely not synonymous with templated
controls.
As I said before, the information I have provided is accurate and I was
simply trying to give you more information about a topic which I feel you do
not fully understand. I'm not trying to get into a spitting contest with
you.
--
Jim Cheshire
Jimco
http://www.jimcoaddins.com
================================
Author of Special Edition
Using Microsoft Office FrontPage 2003
5 Stars on Amazon and B&N
================================
The opinions expressed by me in the
newsgroups are my own opinions and
are in no way associated with my
employer or any other party. Jimco is
not associated in any way with any other
entity.