Google Answers Logo
View Question
 
Q: ASP.NET Question on Inheritance ( No Answer,   1 Comment )
Question  
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!
Answer  
There is no answer at this time.

Comments  
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 .

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy