That's a good point. We've been talking about master pages (which make excellent page templates) and user controls (which make excellent modules) which are excellent ways to reuse XHTML (and the accompanying code to drive them, if any). However, a base page gives you a way to reuse C# code (or other language) throughout your website, and it's simpler to program against than C# code in a master page's code behind. You should note that a base page, being written in C#, is frequently not the best place to put page content though. If you need to output XHTML, a master page or a user control are usually better places to put it.
__________________
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
|