I have a Layout name "master" with a position (placeholder) named "main".
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@Html.FrontHtml().HtmlTitle()
@Html.FrontHtml().Meta()
@Html.FrontHtml().RegisterStyles()
</head>
<body>
@Html.FrontHtml().Position("main")
</body>
</html>
I put a view in this placeholder with this code:
Code:
@{
Response.Write(DateTime.Now.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK") + "<br/>");
}
As i run the page the date is rendered twice, with different times. Do anybody knows why? is it an mvc issue or kooboo?
Thanks in advance,
Géza