Umbraco/Samples and Articles/Templates/ASPNetFormTag

From Wikibooks, open books for an open world
< Umbraco‎ | Samples and Articles‎ | Templates
Jump to navigation Jump to search

The ASPNET_FORM tag[edit]

Often Umbraco macros will require an ASPNET_FORM tag to be wrapped around them in order to function correctly.

It is good practice to place this tag in a master template as in the following example.

<html>
	<head>	
	</head>
	<body>
		<?ASPNET_FORM> 
		<?UMBRACO_TEMPLATE_LOAD_CHILD/>
		</?ASPNET_FORM> 
	</body>
</html>