runat Attribute
Sets where the code is to be processed for the item.
Syntax
HTML <tagPrefix:ELEMENT runat=sHost ... > Scripting N/A
Possible Values
tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive. sHost System.String that specifies the type of host. clientDefault. Code runs on the client.server
Code runs on the server before the page is sent to the client.
Remarks
The opening tag of Internet Explorer WebControls must include the runat property set to
server
for the control to run within ASP.NET.
Applies To
See Also
Internet Explorer WebControls, About the MultiPage WebControl, About the TabStrip WebControl, About the Toolbar WebControl, About the TreeView WebControl