Register Directives and Code Generation Tags

The TagName for all ASCX Register directives is based on the Name of the ASCX component/class (e.g. Button), and not the name attribute of the GEN:Use tag (e.g. OKButton).  The name attribute of a GEN:Use tag is used to derive the ID attribute of the .NET server control tag that will replace the GEN:Use tag, but not the directive and not the TagPrefix or TagName of the server control tag.

Several caveats apply to the generated pages:

See Also

Generated Web Pages