Copied to clipboard

Flag this post as spam?

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


  • Peter S 169 posts 587 karma points
    Apr 30, 2014 @ 13:47
    Peter S
    0

    Problem with strongly typed views/controllers

    I've followed the first steps in this article and tried making some strongly typed views/controllers but can't get it to work. I've added the master model, setting some of the properties in my master controller and have my other controllers inherit from. But when I go to my layout page and change the inheritance from UmbracoTemplatePage to use @model project.Model.Master it stops working. Not even a hint as to what's wrong, it just shows the "standard server error in application" page.

    Any idea what might be wrong? I'm using 7.1.0

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    May 02, 2014 @ 14:15
    Dave Woestenborghs
    0

    Can you post your code so we can have a look where it is going wrong ?

Please Sign in or register to post replies

Write your reply to:

Draft