I have a site where most of the pages will have a common "shell" or layout. There will be an outer table which will hold HTML elements but which will *also* hold UserControls (Global Nav, etc.). Right now, all of the HTML and the @ Register directives for the shell's UserControls are copied onto each and every .ASCX page on the site
I find this kind of frustrating because it means that I have to change many files whenever I want to make chages to the actual framework of the shell itself (as opposed to the UserControls embedded *in* the shell)
If the shell contains UserContols which need to be accessible from individual page methods, etc., I can't hink of how to do this. Right now, all of the pages on the site *do* derive from a common "BasePage" class which inherits from "Page" but I don't really know how I could use that to do this.
Help???
I find this kind of frustrating because it means that I have to change many files whenever I want to make chages to the actual framework of the shell itself (as opposed to the UserControls embedded *in* the shell)
If the shell contains UserContols which need to be accessible from individual page methods, etc., I can't hink of how to do this. Right now, all of the pages on the site *do* derive from a common "BasePage" class which inherits from "Page" but I don't really know how I could use that to do this.
Help???
Comment