views:

21

answers:

1

hi all,

I am currently using nested masterpages in my latest asp.net 4.0 project and i want to change the look and feel dynamically, so the homepage may just be 1 column wide, about us page may be 2 columns etc.

I am dynamically loading the masterpage dependant on the record selected in the DB (1column.master, 2column.master) on the pre_init event of a static page (Load.aspx) which work succesfully however i need to be able to dynamically add controls to the page in order to get the desired layout.

Is this possible, is there a better way of achieveing this?

Please inform me if you need more information / or have any questions.

Thanks

+1  A: 
atconway