Try our conversational search powered by Generative AI!

Always render a local block



Is there a way to always render a local block in webforms, even if the data is null?


Oct 29, 2013 0:16

Did you solve this?

Oct 31, 2013 19:34

Nope. Still want to do it though.


And I also didn't get any notifications here when you replied. Weird.

Nov 06, 2013 22:54

We have the same suggestion for property controls, the ability to always render despite the value being null. We are thinking about adding a new interface that works for both property controls and block controls that would basically delegate the responsibility to the control. The best solution would be to just always delegate to the control but that, as we found out during testing, was a bit too breaking for existing solutions. Can't promise when we get this in but any suggestions or ideas you have, let me know.

Nov 14, 2013 11:35

One thing I have thought of for just solving Johans problem right now is that if you have a non editable property (for editors) in the local block and set that property to a value in setdefaultvalues on alla page types that have the block. Haven't tested it though and if it works its a royal pain in the ***

Nov 14, 2013 11:39
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.