AI OnAI Off
Hi,
In Index action of Controller you can check if page in is in editing mode then do something else. e.g.
if (EPiServer.Editor.PageEditing.PageIsInEditMode)
{
//Do stuff for editors
}else
{
//Do stuff for front users
}
Regards
/K
Hello!
What version are you using? There has been some reported bug that seems to be pretty much the problem you're having. Should be fixed now though.
Take a look at this thread http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=90047.
/Kenia
Hi,
I've a question about navigating on a page in CMS Edit mode.
Is it possible in Episerver CMS Edit mode to call other controller methods without always loading Index method by default.
For example, if I'm on a new page called ContentPage, and I've opened ContentPage up through CMS Edit tree and
now I want to call out ContentPage controller other action methods in my CMS Edit mode, it successfully loads the method and then it loads the Index method again.
Is it possible to cancel that action?
Best regards,
A