Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheriting from a webform with controls.
Message
De
20/11/2003 12:46:07
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Inheriting from a webform with controls.
Divers
Thread ID:
00851962
Message ID:
00851962
Vues:
38
Am I missing something in the documentation or what? I want to have a base web form with a couple of standard controls. I can drop the controls on the base form and set another form to inherit from the base form.

public class frmMain : frmBaseDEForm


With no code behind the controls on the frmBaseDEForm, frmMain is displayed but none of the controls are visible. I attempt to set the controls' visible property to true in the load of frmMain and I get error about null reference. It is like the error I get when there is code behind the controls on frmBaseDEForm.

Ideas of waht I am doing wrong?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform