Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Event to refresh page on content area page/block drop after save?

Vote:
 

Is it possible to refresh the page in episerver UI on drop of a page/block in a content area? if so, any example?

#82285
Mar 10, 2014 10:28
Vote:
 

The solution is different depending if you use MVC or Web Forms. It's solved by adding hint for "full refresh":

MVC:

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

Web Forms

Add hint to PageBase property:

PageBase.EditHints.Add("IncludePublishDate");

and add FulllRefresh web control to page/master page:

<EPiServer:FullRefreshPropertiesMetaData runat="server" />

#82288
Mar 10, 2014 10:50
Vote:
 

Thanks! just what I needed!

#82292
Mar 10, 2014 11:10
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.