Jacob:
Thank you for the links, they are very informative. I am still have one
question, though: In what circumstances would I want to choose to use a
control builder, rather than just overriding a control's Render() method?
Said another way, my question is now "Why?", rather than "How?".
-- Jeremy
> Hi Jeremy
>
[quoted text clipped - 5 lines]
>
> Control Builder Overview
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> l/cpconwebformscontrolbuilderoverview.asp
>
> ControlBuilder Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
> frlrfSystemWebUIControlBuilderClassTopic.asp
>
> Custom Control Builder Sample
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> l/cpconcreatingcustomcontrolbuilder.asp
>
[quoted text clipped - 7 lines]
> Get Secure! ?C www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
Teemu Keiski - 03 Oct 2003 22:33 GMT
Hi,
overriding Render does not correlate any way with using control builders.
Control builders are used when control instances are created from markup
(aspx files parsed) (control builder parses content that exists between tags
of server control) i.e when aspx page is compiled.
Rendering is a way to provide the markup control produces for the browser as
a result of going through a web request. It is not tied to parsing and
compiling a control ( or a page).

Signature
Teemu Keiski
MCP, ASP.NET MVP
AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com
> Jacob:
>
[quoted text clipped - 14 lines]
> >
> > Control Builder Overview
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> > l/cpconwebformscontrolbuilderoverview.asp
> >
> > ControlBuilder Class
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
> > frlrfSystemWebUIControlBuilderClassTopic.asp
> >
> > Custom Control Builder Sample
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
> > l/cpconcreatingcustomcontrolbuilder.asp
> >
[quoted text clipped - 7 lines]
> > Get Secure! ?C www.microsoft.com/security
> > This posting is provided "as is" with no warranties and confers no rights.
Jacob Yang [MSFT] - 04 Oct 2003 08:06 GMT
Hi Jeremy,
Firstly, I want to thank Teemu's great help in this issue.
In addition, with the ControlBuilder class, we can support our custom tag,
for example <custom: MyCellVB??>.
With Render function, we cannot implement this function.
I hope it helps.
Jacob Yang
Best regards,
Microsoft Online Partner Support
Get Secure! ?C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.