detect if a page is viewed in editmode

Vote:
 

hi!

is there an easy way to check if a page is viewed "outside" EPiServer CMS Environment even though the user is logged in? shortversion: i have a pagetype that will force dowload of a file, and that's a bit annoying when in editmode.

thanks in advance.

#24051
Sep 22, 2008 18:56