How can I call or use includes in aspx.net. I am developing web application and I want header and footer of the application to be independent or on different page then just called or included in the main page. The header and footer are as folows
Header.aspx and Footer.aspx respectively. How do I include or call them in index.aspx page????
I suggest looking into the control tree structure of a page and use that as a jumping off point. Furthermore, if you want to use the same template for every page, use master pages and not included UserControls.