|
|
Subject:
ASP.NET Question on Inheritance
Category: Computers > Programming Asked by: tekiegreg-ga List Price: $20.00 |
Posted:
13 Aug 2004 14:35 PDT
Expires: 16 Aug 2004 06:29 PDT Question ID: 387552 |
While the basic concept of inheritance is familiar to me, I'm having trouble overriding a few ASP.NET functions from its base class, in short, here is what I'm trying to do. 1) Create a page (we'll call it fruit.aspx and fruit.aspx.vb) and in it build a template and some baseline functions. 2) Create 2 other pages (we'll call it orange.aspx.vb and apple.aspx.vb) that only needs to have overriden functions, the .aspx template itself would not have to change. How would one structure such an example properly? How to I structure the request to orange.aspx or apple.aspx to initialize the base pages template while overriding with the orange.aspx methods? (For example using response.redirect or a hyperlink)? Thanks! |
|
There is no answer at this time. |
|
Subject:
Re: ASP.NET Question on Inheritance
From: dishanfernando-ga on 16 Aug 2004 01:43 PDT |
You cant inherit aspx pages. Create separate Classes for fruit and inherit it to Orange and other fruit as a genaral structure . |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |