< Umbraco < Samples and Articles < Templates

The ASPNET_FORM tag

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>
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.