Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Render Usercontrol Blocks from ContentArea?



Im new to EPiServer , so sorry If this is a dumb question.

In the current project Im working at I have created a Site Settings pagetype where I store all of my global fields for my site. For example I have put my footer contents in there. My idea is that my footer is build with different blocks that I insert in a ContentArea field.

How can I render the blocks in that ContentArea field so each block use it's created usercontrol?

As of now, I have to render the contents from the ContentArea in codebehind in my footer usercontrol.

Best Regards / The rookie Daniel

Nov 19, 2013 15:10

In your masterpage you add a <EPiServer:Property control. You set PropertyName to the name of your contentarea property,then you set the PageLink to your settings page type and your done.


Nov 19, 2013 21:31
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.