Render Usercontrol Blocks from ContentArea?

Vote:
 

Hi,

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

#77445
Nov 19, 2013 15:10
Vote:
 

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.

 

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