Copied to clipboard

Flag this post as spam?

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


  • Vlad 3 posts 23 karma points
    Nov 29, 2014 @ 22:29
    Vlad
    0

    SurfaceController for a view?

    All examples I can find with SurfaceControllers is using partial views. But in some cases I need to use a controller for a normal view. How can I use a controller for a normal view?

    I have found that it is possible to route hijack in Umbraco to be able to use a controller for a normal view: http://umbraco.com/follow-us/blog-archive/2014/1/27/a-practical-example-of-route-hijacking-in-umbraco

    Is this the recommended way to do this or is it possible to use SufaceControllers for this?

  • Vlad 3 posts 23 karma points
    Dec 02, 2014 @ 20:52
    Vlad
    0

    No one has any idea?

  • Tobias Klika 101 posts 570 karma points c-trib
    Dec 05, 2014 @ 00:45
    Tobias Klika
    0

    Why do you even need the SurfaceController?

  • Vlad 3 posts 23 karma points
    Dec 10, 2014 @ 21:44
    Vlad
    0

    I needed some sort of controller, not particular the surface controller but that was the controller that I have noticed is commonly used in Umbraco. I find answer to my question here: http://umbraco.com/follow-us/blog-archive/2014/1/27/a-practical-example-of-route-hijacking-in-umbraco

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies