Copied to clipboard

Flag this post as spam?

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


  • Scott McElroy 11 posts 32 karma points
    Sep 03, 2010 @ 15:49
    Scott McElroy
    0

    Including CSS and JS as part of a userControlGrapper.IUsercontrolDataEditor control

    I have created a custom control implementing the umbraco.editorControls.userControlGrapper.IUsercontrolDataEditor interface, but for the life of me cannot figure out how to inlcude CSS and JS as part of the user control.

    I have gone fairly far back into the forums, checked out the wiki, even reflected a few projects, but I am still at a loss for how to include a new CSS and JS file that is associated with the control. Even including a <script /> block directly on the control fails to render the JS in the umbraco admin (I am assuming the client dependancy handler is grabbing up this JS).

    So I was wondering if any learned users could point me in the right direction for including a new CSS and JS file into the umbraco admin.

     

    Thanks,

    Scott

Please Sign in or register to post replies

Write your reply to:

Draft