Iron Speed Designer generates server controls tags in the generated ASPX and ASCX files. The server-side functionality of the application is exposed to the Presentation Layer ASPX pages as a set of XML tags. The Presentation Layer control tags may also be used in design themes, HTML layout page files, and in any other context where they are passed through to the final generated ASPX page.
The syntax of the Presentation Layer control tags is very straightforward:
<NameSpace:TAGNAME
id="IDNAME"
runat="server"
…
>
</NameSpace:TAGNAME>
Note:
"ASP" is the tag prefix for the standard .NET web controls used in the generated ASPX pages.
"BaseClasses" is the tag prefix associated with the .NET custom controls defined in the application base classes.
The application’s name is used as the tag prefix for the application’s own generated .NET user controls (i.e. the ASCX controls). These tag prefixes are defined in each ASPX / ASCX file using the "<@Register ... >" statements near the top of the files.
Example tags for various types of buttons:
|
Tag Type |
Example |
|
Standard HTML form submit button |
<input type="submit" id="b" ... /> |
|
Standard .NET HTML control |
<input type=”submit” id=”b” runat=”server” … /> |
|
Standard .NET web control |
<asp:Button runat="server" id="b" ... /> |
|
Application base classes custom control |
<BaseClasses:Button runat="server" id="b" ... /> |
|
OMS
application user control |
<OMS:Button runat="server" id="b" ... /> |