I have a problem with the value being returned by
UmbracoContext.Current.IsFrontEndUmbracoRequest
If UmbracoContext.Current.IsFrontEndUmbracoRequest is giving me false... when it should give me true (its a page that is in the front end of the website) has anyone got any idea why I that value is false?
Is there a way to detect being in Back-End or Front-End of Umbraco Site?
Hello,
Is there is a code in C# or Javascript that can detect where user is view on Back-End or Front-End of Umbraco Site?
Hi Nguyen,
As I understand right, it's easy to do with UmbracoContext.IsFrontEndUmbracoRequest flag;
Thanks,
Alex
Hi Alex,
To access none-static member. We should use this:
Thanks Nguyen, nice tip!
I have a problem with the value being returned by UmbracoContext.Current.IsFrontEndUmbracoRequest
If UmbracoContext.Current.IsFrontEndUmbracoRequest is giving me false... when it should give me true (its a page that is in the front end of the website) has anyone got any idea why I that value is false?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.