Copied to clipboard

Flag this post as spam?

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


  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 29, 2015 @ 00:41
    Nicholas Westby
    0

    Use Angular Directive in ASCX Control for Package Install

    During the package creation process, you are allowed to select a ASP.NET User Control (ASCX file) to display once the installation has completed:

    Control Selection

    When I install the package, it loads the control up fine. However, the control contains an AngularJS directive I created. The problem is that the directive is not being processed.

    I suspect that is because Umbraco isn't doing all the Angular stuff in the iframe containing the ASCX that it does with the rest of the back office.

    What is the easiest way of getting this directive to appear after my package is installed?

    The lame alternative I'm considering is simply linking to the developer section that contains a tab that is also displaying the same Angular directive.

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Nov 29, 2015 @ 01:01
    Nicholas Westby
    0

    I have submitted a feature request to allow Angular-driven HTML files in the post-install page: http://issues.umbraco.org/issue/U4-7471

    However, it would still be nice to be able to figure out a workaround in the meantime.

Please Sign in or register to post replies

Write your reply to:

Draft