Saturday, March 24, 2012

working with master pages?

Hello,

I have just converted a page I have to use master pages.. The controls on the page have been positioned using absolute values. Do they have to be removed so that they appear in the place of the ContentPlaceHolder?

The controls need to be added to one of the ContentPlaceHolders from the code aspect side, but the positioning of those controls when the browser renders them can remain absolute.

The master page simply puts the translated (from web part C# etc to actual html elements) information where the ContentPlaceHolder is, but it does not limit the location of the control and cannot because that is handled by the web browser. If you leave the controls outside of the ContentPlaceHolders on the content pages you should get an error when you attempt to create the site.

0 comments:

Post a Comment