Visual Inheritance with ASP.NET

Visit Visual Inheritance with ASP.NET

In any application, it is very desirable for the interface to be consistent. In web applications specifically, you want the user to feel that they are on the same website as they move from page to page, having the same navigation, color scheme, and layout on every page. In .NET windows forms, it is possible to use visual inheritance to have the look and composition of one form, inherit from another. Since each form is itself a class, it would make sense that forms can inherit from each other. However, this capability is not innate to ASP.NET Web forms. While inheritance is supported, this is limited to code inheritance. Methods and Properties can be inherited, however one .aspx page cannot inherit the server controls, form elements, images and HTML script from another base .aspx page. In this article, Craig Bowes shows how to add a form of Visual Inheritance to your ASPX site, simplifying redesign and maintenance.

  • Cost: $8.00
  • Pages: 22
  • Edition: e-book (Acrobat Reader)
  • ISBN: B00007EIML

Resource Specification

Category:

ASP : Books

Title / Program Name:

Visual Inheritance with ASP.NET

URL:

http://www.amazon.com/exec/obidos/ASIN/B00007EIML/bigwebmasters-20

Screenshots URL:

http://www.bigwebmaster.com/screenshots/B00007EIML.jpg

Released Date:

November 5, 2002

Cost:

$8.00

List Price:

$8.00

Pages:

22

Edition:

e-book (Acrobat Reader)

ISBN:

B00007EIML

Publisher:

Wrox

Author:

Craig Bowes

Keywords:

asp.net navigation, asp.net color scheme, asp.net windows forms, asp.net class, asp.net web forms, asp.net inheritance, asp.net methods, asp.net properties, asp.net server controls, asp.net article

Summary:

How to add a form of Visual Inheritance to your ASPX site

Description:

In any application, it is very desirable for the interface to be consistent. In web applications specifically, you want the user to feel that they are on the same website as they move from page to page, having the same navigation, color scheme, and layout on every page. In .NET windows forms, it is possible to use visual inheritance to have the look and composition of one form, inherit from another. Since each form is itself a class, it would make sense that forms can inherit from each other. However, this capability is not innate to ASP.NET Web forms. While inheritance is supported, this is limited to code inheritance. Methods and Properties can be inherited, however one .aspx page cannot inherit the server controls, form elements, images and HTML script from another base .aspx page. In this article, Craig Bowes shows how to add a form of Visual Inheritance to your ASPX site, simplifying redesign and maintenance.

Ratings Breakdown

Number of Votes:

5

Resource Rating:

5.00

Highest Rating:

10

Lowest Rating:

1

Bar Graph Chart
RatingVote %# of Votes
1040%2
90%0
80%0
70%0
60%0
50%0
40%0
320%1
20%0
140%2

Want to increase the number of votes and resource rating for this listing?

Place a Visual Inheritance with ASP.NET Vote Box on your website.