> What is all this {0} and cc1 for? Why isn't it sufficient for the designer
> to simply say <TMyClass> and be done with it? I realize this is a nuts &
> bolts question, but I'm trying to understand the nuts and bolts a little
> better so I can make good decisions.
The simple answer is that each control set is given a namespace (at
the top of each page). I assume this is to prevent collisions with
other controls as well as XML/HTML element names.
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
[ToolboxData('<{0}:TMyClass runat=server></{0}:TMyClass>')]
What is all this {0} and cc1 for? Why isn't it sufficient for the designer
to simply say <TMyClass> and be done with it? I realize this is a nuts &
bolts question, but I'm trying to understand the nuts and bolts a little
better so I can make good decisions.
Thanks,
Kevin Donn
Thanks,
Kevin Donn
"Marc Rohloff [TeamB]" <"on request"> wrote in message
news:41u3erqz...@dlg.marcrohloff.com...
> Do you know whether the programmer has any control over what prefix
> is used for his own controls, i.e. can I make it use "lw" instead of
> "cc1", or should I just not care about any of this?
Yes -- for my NixBlox components, I use
[assembly: TagPrefix('Lemanix.Web.NixBlox', 'nixblox')]
in the DPR file, and my components use the <nixblox:control> tags.
--
Nick Hodges
Delphi/C# Product Manager - Borland/DevCo
Read my Blog -- http://blogs.borland.com/nickhodges
kd
"Nick Hodges (Borland/DevCo)" <nickh...@gmail.com> wrote in message
news:44b67344$1...@newsgroups.borland.com...