SaaS CMS has officially launched! Learn more now.

OnPage Editing Not Working?


I'm able to get my MVC Razor project going. When I was doing my initial Hello World project, I was able to do some onpage editing on my start page. For whatever reason, I can't seem to edit on the page with any new pages. The light blue box does not show up nor does the sidebar with TinyMCE.I can only edit in forms editing mode. Is there something I have to do to a View or my Layout page to make this happen? This is a feature my content authors are going to need.

I've created my page types using the Episerver extentions. I have one type called StartPage with the default MainBody enabled.

Dec 06, 2012 0:50

Hi Corbin,

How do you go about rendering the property?

Dec 06, 2012 8:57

I'd turn on firebug and see if there is any 500 error in "network" tab and then browser to that url. I'm been in the same situation and it was that path to editor style was wrong.

Dec 06, 2012 10:10

Peter, I simply had




 Your reply made me go back to the @Html.PropertyFor(m => m.MainBody) and that was the trick. VS was showing a warning so I thought there was going to be an issue with it. Guess I was wrong :-).

I did not see any 500 errors in Firebug.

Edited, Dec 06, 2012 16:05



Dec 06, 2012 16:09

Thanks Ruwen for answering this. What PropertyFor does is making a call to DisplayFor with the property selected. But before that, we will make sure to set attributes in edit mode to make sure we get on page edit. If you just rendering it with @Model.MainBody, we have no chanse to do anything, becouse nothing in EPiServer will be called.

Dec 07, 2012 10:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.