November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi,
Preview mode is actually edit mode with the minimize editing features and tools around. As far as I know, there is no difference on the server side between the two cases. I would recommend not to have the view rendering and edit rendering so different, to ensure the best live editing user experience. However, if it is really needed, you can use javascript to customize property overlays instead.
Maybe this will do the work for you?
EPiServer.Editor.PageEditing.PageIsInEditMode
@Doung Nguyen thanks for clear answer. I know now I should look somewhere else for workaround of my problem.
@Johan, that will not help as it gives true in both cases.
There's still the possibility to guess the current mode from the url, something similar to this: http://www.christianengvall.se/check-page-episerver-opened-editadmin-mode/
Just like in the title. Is it possible? PageEditing.PageIsInEditMode returns true in both modes.
By Preview Mode I mean this button on the top saying “Toggle preview mode”.