M
mcollier
I'm having trouble getting my server controls in my code-behind file to
initialize. I field names exactly match that of the control in the
ASPX file. The controls are also public. However, in my Page_Load()
method the fields remain unitialized (null). Each of my pages derive
from my own base page, which in turn derives from Page. Could I be
overrided a crucial method here, and if so, what should I be looking
for? Also, each page uses a custom control (derives from UserControl
and INamingContainer). This custom control, WebTemplate, provides the
basic look and feel for each page.
Any help would be greatly appreciated.
initialize. I field names exactly match that of the control in the
ASPX file. The controls are also public. However, in my Page_Load()
method the fields remain unitialized (null). Each of my pages derive
from my own base page, which in turn derives from Page. Could I be
overrided a crucial method here, and if so, what should I be looking
for? Also, each page uses a custom control (derives from UserControl
and INamingContainer). This custom control, WebTemplate, provides the
basic look and feel for each page.
Any help would be greatly appreciated.