Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lukas 1 post 21 karma points
    Nov 28, 2009 @ 18:20
    Lukas
    0

    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!

     

     

  • Jakob 38 posts 54 karma points
    Jan 30, 2010 @ 11:44
    Jakob
    0

    Have you had any resolution in this area?

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jan 30, 2010 @ 12:51
    Morten Bock
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft