Edit in Place Functionality Not Working

Deane Barker
Member since: 2008
 

When I try the "edit in place" functionality (Right click, then choose "Edit"), the page just posts back.  I am unable to edit anything.  It does this in both IE and FF.

The "Edit" option is initial available in the right click menu.  When I select it, the page posts back, and now the "Edit" option is disabled, but the "Cancel" and the "Save and Publish" options are now enabled -- as if the page thinks it is allowing me to edit at that moment.

All script files seem to be loading fine:

  1. contextmenu.js
  2. episerverscriptmanager.js
  3. onpageedit.js

On at least one page, there are no other javascript files, so it can't be a conflict.

One thing I did notice --

When I right click, I can watch requests go out (via Firebug) for all the images in the right-click menu.  A request for"/util/Empty.htm" always fails with a 404.  Is this request something critical?

#28096
Feb 20, 2009 4:02
René Voigt
Member since: 2005
 

Are you using <EPiServer:Property... in your code front file?

On page edition is only working with Property webcontrols, not with code like <%=CurrentPage["MainBody"] %>

/René

#28120
Feb 20, 2009 14:30
Deane Barker
Member since: 2008
 
Yes -- I'm sorry for not mentioning that.  We are using the EPiServer:Property control.
#28122
Feb 20, 2009 15:22
René Voigt
Member since: 2005
 

This seems to be a known issue in R2. In case you are using a non SP1 version you should either upgrade or try the following fix i got from support:

<location path="Util">
    <system.web>
       <!--Setup the StaticFileHandler for the wildcard mapping to work in IIS6-->
      <httpHandlers>
        <add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
        <add path="*.ht*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer" validate="true" />
      </httpHandlers>
    </system.web>
  </location>

#28128
Feb 20, 2009 16:38
Deane Barker
Member since: 2008
 
That did fix the 404, thanks.  The editing functionality, however, still doesn't work.
#28130
Feb 20, 2009 20:15
Deane Barker
Member since: 2008
 

Doing some more debugging. The postback looks okay:

__EVENTARGUMENT=Edit
__EVENTTARGET=OnPageEditControl

 

I can verify that these two values are coming back into the page in the Forms collection on postback.

Here's the control code from the underlying template.

 

<EPiServer:Property ID="Property2" PropertyName="PageDescription" runat="server" />

 

#28131
Feb 20, 2009 20:43
Deane Barker
Member since: 2008
 

Be aware that this is likely a very involved issue.  My installation has some larger problems, I think.

I installed the default EPiServer site -- fresh site, using the default templates.  Still, it doesn't work.

The issue is much larger than this particular site, I think.

#28141
Feb 20, 2009 23:19
Rizo
Member since: 2007
 

I've this problem aswell. Nothing really happens when I try to edit in place, but it does give me the option to save, so episerver THINKS that it's working. If I try to save, then the page crashes with a null reference. 

noone that has a solution?

#28678
Mar 18, 2009 9:53
Alan Ramos
Member since: 2008
 

Hello,

 

I have the problem that Editing in PLace does not appear but this happens when I try to create the project with the SDK in Visual Studio 2008 in Windows Vista Ultimate and EPiServer CMS 5 R2 SP1

I think that there is something strange with the setup.

 

Is there somebody that has any idea about this.

 

Thanks in advance

#29073
Apr 03, 2009 14:17