Copied to clipboard

Flag this post as spam?

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


  • Marc van de Wert 8 posts 75 karma points
    Nov 30, 2015 @ 11:18
    Marc van de Wert
    0

    IsInPreview boolean indicator

    Is is possible to retrieve a boolean value from say e.g. the Umbraco context or something else to determine if the current page is being previewed.

    In my solution I have a few pages that do checks before the page is shown, if the checks are not valid the page is being redirected. I want to be able to omit this when I preview the page.

Please Sign in or register to post replies

Write your reply to:

Draft