Handling dynamic number of columns

Posted by Whistle on Stack Overflow See other posts from Stack Overflow or by Whistle
Published on 2010-05-26T14:21:23Z Indexed on 2010/05/27 9:11 UTC
Read the original article Hit count: 156

Filed under:
|

I'm developing a CMS of sorts, and I want to give my users the possibility of customizing the display. More precisely, I want to give them the ability to choose to display or hide the left column, the right column and/or the top div. The middle column cannot be hidden since this is where the actual content will show, whereas the other columns are for navigation or side menus.

I've been looking for a way to make this as smart and flexible as possible. For now I'm using a MasterPage, but that seems to be too constraining. For instance, with MasterPage you need to add a ContentPlaceHolder control in every of your ASPX pages.

What are the best practices in this area? I guess a simpler way of saying this would be "I want to create a template system over which I have complete control".

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET