Copied to clipboard

Flag this post as spam?

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


  • Niclas Schumacher 67 posts 87 karma points
    Jun 24, 2013 @ 09:44
    Niclas Schumacher
    0

    Umbraco ensured page

    Hey Guys. 
    Im running on my 2nd week working with umbraco, and i seem to love it more and more. 

    Ive made a modal popup in the backoffice, from my usercontrol. But i need to secure the pop-up aspx-file. And i heard something with umbraco ensured page? But i just can't find anything on google helping me to acomplish securing this aspx-file with umbraco. Which should be posible. 

    Hope you guys can help. 

     

    - Niclas Schumacher

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jun 24, 2013 @ 11:05
    Dave Woestenborghs
    0

    You can find it in the namespace umbraco.BasePages

    You will need to make your page inherit this class.

    Dave

  • Niclas Schumacher 67 posts 87 karma points
    Jun 24, 2013 @ 11:34
    Niclas Schumacher
    0

    Dawoe, seems like you got me on the right track. 
    But when i try to inherit from umbraco.BasePages, it dosn't know anything about a BasePages, how to implement that? add a reference or ? 

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jun 24, 2013 @ 11:37
    Dave Woestenborghs
    0

    Hi Niclas,

    You need to inherit from umbraco.BasePages.UmbracoEnsuredPage. If i'm correct you will need to add a reference to the businesslogic.dll

     

    Dave

  • Niclas Schumacher 67 posts 87 karma points
    Jun 24, 2013 @ 12:45
    Niclas Schumacher
    0

    Hallo agian dawoe. 
    That did the trick.
    Thanks alot forthe quick help ! :) 

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jun 24, 2013 @ 13:04
    Dave Woestenborghs
    0

    No problem. Happy to help out

Please Sign in or register to post replies

Write your reply to:

Draft