Layouts and sidebar content, how is it done?
Posted: Tue Feb 18, 2014 7:14 am
Overall I'm getting used to how Layouts and user controls are assigned to flesh out pages in the site. However I'm finding difficulty when it comes to content pages and sidebar content.
If I want to implement content pages as webpages, I can't use layouts and implement the layout sidebar(s). Because the sidebar content must always be a user control. There's no way to specify the sidebar in the layout should be webpage content and not a user control.
So far the only solution I can think of is to build a generic user control that accepts a webpageId as a parameter. Then I can build the sidebar content as another webpage and reference it within the user control and set the parameter value via the Layouts UI.
Are there any plans to improve this?
If I want to implement content pages as webpages, I can't use layouts and implement the layout sidebar(s). Because the sidebar content must always be a user control. There's no way to specify the sidebar in the layout should be webpage content and not a user control.
So far the only solution I can think of is to build a generic user control that accepts a webpageId as a parameter. Then I can build the sidebar content as another webpage and reference it within the user control and set the parameter value via the Layouts UI.
Are there any plans to improve this?