Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheriting from a webform with controls.
Message
From
20/11/2003 12:46:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Inheriting from a webform with controls.
Miscellaneous
Thread ID:
00851962
Message ID:
00851962
Views:
37
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.
Next
Reply
Map
View

Click here to load this message in the networking platform