I
Invalidlastname
Hi,
I just read the pattern "Design and Implementation Guidelines for Web
Clients" from MSDN.
Here is my question. In chapter 3,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/diforwc-ch03.asp ,
the article mentions using page inheritance to maintain common page layout.
We currently use page inheritance approach to segment the function areas. In
each function area, there is a base page to provide the common
implementations for that function area, such as access control, rendering
header. There is also a master page which inherits the base page to load
different user controls based on different requests.
However, we cannot implement page inheritance without having the server-side
include files, which contain some common asp.net and html tags shared by all
aspx . By looking at Fig. 3.9, it is not very clear to me how the common
page elements, e.g. header, footer navigation areas were added to the pages
which extends the base page. My understanding of the asp.net page
inheritance is to use shared service-side include for asp.net pages (.aspx),
and base page class for code-behind (.aspx.cs).
Am I missing anything here?
I
I just read the pattern "Design and Implementation Guidelines for Web
Clients" from MSDN.
Here is my question. In chapter 3,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/diforwc-ch03.asp ,
the article mentions using page inheritance to maintain common page layout.
We currently use page inheritance approach to segment the function areas. In
each function area, there is a base page to provide the common
implementations for that function area, such as access control, rendering
header. There is also a master page which inherits the base page to load
different user controls based on different requests.
However, we cannot implement page inheritance without having the server-side
include files, which contain some common asp.net and html tags shared by all
aspx . By looking at Fig. 3.9, it is not very clear to me how the common
page elements, e.g. header, footer navigation areas were added to the pages
which extends the base page. My understanding of the asp.net page
inheritance is to use shared service-side include for asp.net pages (.aspx),
and base page class for code-behind (.aspx.cs).
Am I missing anything here?
I