Backend content editing requires page refresh

Posted by Community Admin on 04-Aug-2018 04:08

Backend content editing requires page refresh

All Replies

Posted by Community Admin on 07-Feb-2012 00:00

Hi,

I've recently upgraded a sitefinity site from 4.2 to 4.4.  Everything seems to have gone smoothly except for one small issue :

When you go to edit the content of a page in the back-end, the "publish", "save as draft" and "preview" buttons don't show up when the page first loads.  The site obviously thinks the page is not locked for editing because you can't move anything around or click on any edit button.  Pressing F5 to refresh the page causes the buttons to show up and the editing to become available.

Has anyone else experienced this?

Posted by Community Admin on 09-Feb-2012 00:00

Hello David,

This behavior is most probably caused by some JavaScript that is conflicting the scripts of our page editor. It might be on a master page, on which your template is based or in a javaScript widget. Also, if you tell us what JavaScript errors appear in the NET tab of your browser we will be able to investigate the problem further.

Greetings,
Jen Peleva
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 09-Feb-2012 00:00

Dear Dawid
I had this kind of behavoir a couple of times after my FF upgraded to version 10.
Are you using FF 10 by any chance and do you get the same problem in IE or Chrome.

Markus

Posted by Community Admin on 09-Feb-2012 00:00

Hi guys, thanks for the responses.

To start off, it happens in all browsers that I've tested, IE8 + 9, Latest FF & Chrome on multiple machines.  So I'm guessing it's not a browser issue.

In terms of some custom javascript causing the problem, I'm going to say unlikely because :

1 . It doesn't happen every single time.  About 80% in tests trying to edit the same page over and over.  
2. There are no javascript errors that I can find in either IE9's or Chrome's development consoles

I might be wrong, since the site was inherited, it's been upgraded from 4.2 (was working without problems) to 4.4 (so I'm not sure if the same version of jquery is used for example etc), but I don't think so.

I have noticed something about the speed though.  If the editing page loads in a reasonable amount of time, it seems it works fine.  Most times it's taking a while longer to load and then it happens.  I've checked that all the files get loaded (all 200 responses), I've profiled the site in VS to check if there are any abnormally long function calls (none that I could find) and of course I've checked for javascript errors.

Luckily, it's not a big issue for us so I'm actually going to let it rest now - the tiny inconvenience isn't really worth spending more time on for now, but thanks for the replies.

Posted by Community Admin on 16-Mar-2012 00:00

Has a fix been found?  We are running into the same issue.

Posted by Community Admin on 16-Mar-2012 00:00

Has a fix been found?  We are running into the same issue.

Posted by Community Admin on 17-Mar-2012 00:00

Do you have your own .master pages?

If yes do you have a contentblock in the head tag or a radscriptmanager in the .mater?

Markus

Posted by Community Admin on 19-Mar-2012 00:00

Yes, we are using .master pages and, yes, we have a RadScriptManager in the .master page.

Posted by Community Admin on 19-Mar-2012 00:00

Dear Andrew

Try the following (at your own risk, backups and so on ....)=
1) if you have a contentblock in the head remove it. Upload master restart see if it works
2) replace the RadScriptManager with default ScriptManager. Upload master restart see if it works
3) remove the ScriptManager at all (If you don't need it). Upload master restart see if it works.

Greatings
Markus

Posted by Community Admin on 19-Mar-2012 00:00

Removing the RadScriptManger worked.  Thank you again for your help.

Posted by Community Admin on 19-Mar-2012 00:00

Dear Andrew
Glad it works now.
Markus

Posted by Community Admin on 27-Mar-2013 00:00

This is a bit long ago, but eventually the answer turned out to be SSL.  We could never get Sitefinity backend to work using SSL - there were lot's of different problems, the solution was to run the backend (apart from login) on normal http.  Hope that helps someone.

Posted by Community Admin on 30-Dec-2014 00:00

Even i faced the same issue for one of my project. It happens when there is an error in java scripts.

I suggest you to check all the paths of the j queries you have used in project. 

This thread is closed