Inheritance

  • Thread starter Thread starter Bart Schelkens
  • Start date Start date
B

Bart Schelkens

Hi,

I'm writing a programme in VB.Net with winforms.
My boss has changed his mind and wants me to redo the programme using
webforms.

My question is this : is it possible to have a basic webform with some
controls on it and then have other webforms inherit from this form ?

Thx for the info.
 
You might want to use something called a User Control. You'll make .ascx
file to be the "basic web form" which you can reuse on multiple pages.
 
Are you saying that WebForms can visually inherit base WebForms like regular
forms or user controls?

If so, can you elaborate how to make this happen?
 
You could :
- use "master pages" (in 2.0 and available in 1.1 as third party controls).
you should find several of them by Googling...
- inherits the code and create common controls in code.

IMO not really Visual Inheritance...

Patrice

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top