Copied to clipboard

Flag this post as spam?

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


  • Adrian Cojocariu 9 posts 88 karma points hq
    Jan 07, 2021 @ 11:03
    Adrian Cojocariu
    0

    Tree Actions C#

    Hello all,

    Is it possible to handle the views and actions for a custom tree in a custom section just from C#, without any Angular interaction?

    Thank you

  • Marc Goodson 2157 posts 14434 karma points MVP 9x c-trib
    Jan 08, 2021 @ 21:59
    Marc Goodson
    0

    Hi Adrian

    You can create an MVC Controller that is routed via the backoffice:

    https://our.umbraco.com/Documentation/Reference/Routing/Authorized/#mvc-controllers-for-the-backoffice

    and I think, although it's a while since I've done this, set a custom url for a menu item:

    https://our.umbraco.com/documentation/extending/section-trees/trees#menurendering

    Would that be enough for your needs?

    But if you want things to work indentically to the way you would extend with angularJS, then there isn't a direct c# equivalent.

    regards

    Marc

  • 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