Copied to clipboard

Flag this post as spam?

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


  • Jimmy 31 posts 147 karma points
    Feb 18, 2019 @ 20:52
    Jimmy
    0

    usercontrol

    Hi. I am testing V8, and want to test some legacy code we are using on some V7 Umbraco sites. We are having some macros, created as usercontrols, is ascx files, with both C# and VB.net in them. As far as I can see in Umbraco V8, I can not add a usercontrol with a Macro, or am I missing something?

    Best regards Jimmy

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 18, 2019 @ 21:32
    Jan Skovgaard
    1

    Hi Jimmy

    I'm 99% sure that webforms are dead in Umbraco 8 and will be pure MVC so whatever old code you have that works using webforms on v7 you'll need to refactor for v8 and MVC.

    You can read a bit more about HQ's take on how to migrate from v7 to v8 here: https://umbraco.com/blog/umbraco-7-to-umbraco-8-a-developer-s-perspective/

    I hope this helps a bit.

    /Jan

  • Jimmy 31 posts 147 karma points
    Feb 19, 2019 @ 06:27
    Jimmy
    0

    Hi Jan

    Thanks for your quick answer.

    Well, I hope there will be some option to run legacy code. It would for sure make a big difference for us, if we decide to move some of our current sites to V8.

    Jimmy

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Feb 19, 2019 @ 08:56
    Sebastiaan Janssen
    0

    Jan is right, usercontrols are no longer supported in v8.

    For some help with this, you could refer to this blog post, it's almost 6 years old but it still holds up pretty well.

  • Jimmy 31 posts 147 karma points
    Feb 19, 2019 @ 09:09
    Jimmy
    0

    Hi Sebastiaan

    OK, thanks.

    I think you forgot the link to the blog post :-)

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Feb 19, 2019 @ 11:10
  • 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