slowly i am learning about page templating. i can do stuff like create a table and then add that table to the page controls with Controls.Add(table);
how do you format a page though? i want the top to have a menu and the bottom to be a footer. do you create the layout in desing view using placeholders, then add the controls there?
i would think that doing it this way would create a site that is inconsistent across browsers. if the answer is to declare your placeholders in code, then how would you specify that the menu control gets loaded into a placeholder at the top of the page, and the footer placeholder is at the bottom?
also, if anyone knows how to add a custon control using Controls.Add that would help. i only seem to be able to add user controls.
how do you format a page though? i want the top to have a menu and the bottom to be a footer. do you create the layout in desing view using placeholders, then add the controls there?
i would think that doing it this way would create a site that is inconsistent across browsers. if the answer is to declare your placeholders in code, then how would you specify that the menu control gets loaded into a placeholder at the top of the page, and the footer placeholder is at the bottom?
also, if anyone knows how to add a custon control using Controls.Add that would help. i only seem to be able to add user controls.