I have encountered problems inheriting umbraco templates that contain umbraco items(with xslt behind).
Is there any way to inherit the umbraco defined templates in a MVC view? As
i understand the problem is that the umbraco templates become html only
at runtime and the doctype properties, as @nodeName, are not recognized
"Object null ref" exc being thrown cause of this.
I have not done anything in the MVC area, but one reason might be that the umbraco:item things are depending on the umbraco context to be able to get the current node.
If the MVC stuff is happening outside umbraco, the the currentpage is never set inside umbraco, thus it does not know where it is.
Umbraco and ASP.NET MVC
I have followed the steps described in the following article to use Umbraco and MVC together:
http://memoryleak.me.uk/2009/04/umbraco-and-aspnet-mvc.html
I have encountered problems inheriting umbraco templates that contain umbraco items(with xslt behind).
Is there any way to inherit the umbraco defined templates in a MVC view?
As i understand the problem is that the umbraco templates become html only at runtime and the doctype properties, as @nodeName, are not recognized "Object null ref" exc being thrown cause of this.
Any help is usefull!
Thanks!
Have you had any resolution in this area?
I have not done anything in the MVC area, but one reason might be that the umbraco:item things are depending on the umbraco context to be able to get the current node.
If the MVC stuff is happening outside umbraco, the the currentpage is never set inside umbraco, thus it does not know where it is.
is working on a reply...