Fire javascript after content area change?

Vote:
 

Im working on a site where the blocks are loaded by javascript. The problem I'm having is that when I change something in a content area (like moving or removing a block) the content area reloads which results in my blocks being empty since the javascript that normally populates them isn't being fired. 

Is there any event or likewise that I can use to reinitiate these blocks on?

#118855
Mar 16, 2015 15:26
Vote:
 

Hi Andreas,

You can add properties to be "Full refresh" meaning a full page refresh is done when a change has occured:

http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/7/Content/Pages-and-Blocks/How-To/Edit-hints-in-MVC/#FullRefreshPropertiesMetaData

Hope this helps!

/T

#118883
Mar 16, 2015 18:50
Vote:
 

Thank you, that helped.

#118897
Mar 17, 2015 8:52
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.