R
Ryan
Hi,
We use class extend parent class for cs file inheritance.
Is this same concept for page - mater page ?
And how we implement inheritance for user controls?
If I need add some common function, I can add it to base page class which
extends System.Web.UI.Page.
But if I want to add some common control on the page and functions deal with
those controls, I add both controls and functions to master page (or mater
of mater).
Is this right thoughts in ASP.NET?
I am never afraid to create too many base classes, but I don't know if it is
right thing to create a few master pages in one web application.
Thanks!
We use class extend parent class for cs file inheritance.
Is this same concept for page - mater page ?
And how we implement inheritance for user controls?
If I need add some common function, I can add it to base page class which
extends System.Web.UI.Page.
But if I want to add some common control on the page and functions deal with
those controls, I add both controls and functions to master page (or mater
of mater).
Is this right thoughts in ASP.NET?
I am never afraid to create too many base classes, but I don't know if it is
right thing to create a few master pages in one web application.
Thanks!