Try our conversational search powered by Generative AI!

Always render a local block

Vote:
 

Hi,


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

 

#76565
Oct 29, 2013 0:16
Vote:
 

Did you solve this?

#76735
Oct 31, 2013 19:34
Vote:
 

Nope. Still want to do it though.

 

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

#77036
Nov 06, 2013 22:54
Vote:
 

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.

#77268
Nov 14, 2013 11:35
Vote:
 

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 ***

#77270
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.