Try our conversational search powered by Generative AI!

Name/PageName for shared block


I would like to use a shared blocks Name as well as date in the renderd block. Just as you would do with a regular PageData object.  

Rendering is easy, (CurrentBlock as IContent).Name but how to make on page edit work? 

Dec 22, 2014 13:46

Joel showed how to render properties without using PropertyFor if you are using MVC that is:

If you are using Webforms check out the documentation on how to add edit hints for proeprties:



Edited, Dec 22, 2014 18:50

Thanks for the reply Toni. I did not get on page edit to work with block name. Unfortunate I dont think this is possible either, atleast not at the moment.

Jan 16, 2015 14:35
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.