ruedacal / razor-mediator-4-tridion

Automatically exported from code.google.com/p/razor-mediator-4-tridion
0 stars 0 forks source link

How to add page directives in Razor #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
How to add a a page directives in razor templates for SDL Tridion 2011 
as below

<%@page pageEncoding="UTF-8" %>

Original issue reported on code.google.com by k.sheika...@gmail.com on 25 Feb 2014 at 11:06

GoogleCodeExporter commented 8 years ago
Because the @ character is special in the Razor Mediator, you need to escape it;

<%@@page pageEncoding="UTF-8" %>

Original comment by JarnoHen...@gmail.com on 23 Mar 2014 at 6:08