Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Inheritance with webpages

Reply
Thread Tools

Re: Inheritance with webpages

 
 
Marina
Guest
Posts: n/a
 
      05-11-2004
ASP.NET doesn't do visual inheritance. It does code inheritance. So you
can't use the designer to design some stuff, and then have other pages
inherit it.

You would have to do everything in code in the base page, including adding
the control to the page's control collection.

"Geir Sanne" <> wrote in message
news:6F69D8D7-3C3C-42BC-85CC-...
> hi!!!
>
> im trying to make a set of pages that has a banner on top and a left menu

in all pages.
>
> ive tried to make a base page with a banner docked to top and a menu

docked to left and
> let all pages inherit from this base page, but i cant make that work.
>
> whats the correct way to do this in asp.net ?
>
> regards
> Geir Sanne
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Private Inheritance and Publice Inheritance karthikbalaguru C++ 9 09-10-2007 01:05 PM
mul. inheritance & overloading operator new/delete solved by virtual base inheritance? cppsks C++ 0 10-27-2004 07:49 PM
Re: Inheritance with webpages Jo Inferis ASP .Net 0 05-12-2004 10:25 AM
Re: Inheritance with webpages John Oakes ASP .Net 2 05-11-2004 03:25 PM
Private access modifier and Inheritance (Inheritance implementation in Java) maxw_cc Java 1 12-21-2003 11:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57