If you are looking for something similar to the 2005 master pages in the
2002 and 2003 environments I would recommend looking into Paul Wilson's
master page article. Originally this was posted on MSDN but an updated
version of it can be found at:
http://authors.aspalliance.com/PaulW...rticles/?id=14
You can google for the original if you'd like. Anyway this is actually
quite easy to use, is very flexible, and give you the ability to
override areas of your master pages. Takes a bit of getting use to at
first, but works like a champ.
Have A Better One!
John M Deal, MCP
Necessity Software
Eliyahu Goldin wrote:
It is possible in ASP.NET 2.0 with MasterPages. You can start using it
now if you are happy with beta.
Eliyahu
"Leo" <ne**********@cox.net <mailto:ne**********@cox.net>> wrote in
message news:eF*************@TK2MSFTNGP10.phx.gbl...
I would like to create a base page with some code and server
controls on it and then inherit that page in all my other pages. I
have tried in the codebehind changing
Inherits Systgem.Web.UI.Page
to
Inherits myBasePage
and in the HTML for the page.aspx changing
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="TestForm.aspx.vb" Inherits="InheritanceText.TestForm"%>
to
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="TestForm.aspx.vb" Inherits="InheritanceText.myBaseForm"%>
I would like the page that is inheriting from myBaseForm to inherit
all the visual and server controls also. Is this possible in VS
2003 and if so what do I need to do?