I am trying to develop a module for DNN 4.7. I downloaded the DNN starter kit for DNN 4.7 and followed the instructions from the Module Development Guide. However, no matter what I do, when I try to reference web controls in my code behind file that I declared in my .ascx file, I get a Name <control name> is not defined.
I've double and triple-checked to make sure that I am wiring up the .ascx page to the .ascx.vb page, but I can't seem to find anything.
I am developing in VS 2005, using the DNN 4.7 source files.
Here is the control directive from my user control (.ascx) file:
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Login.ascx.vb" Inherits="ClassA.SingleSignOn.Login" explicit="true" %>
Here is the beginning of my class in the code file:
Namespace ClassA.SingleSignOn
Partial Public Class Login
Inherits Entities.Modules.PortalModuleBase
. . . . . . . . . .
I've tinkered with AutoEventWireup and Explicit parameters in the Control directive, but nothing seems to work. This module works when I have it run dynamically within DNN, but when I try to precompile per the Module Development Guide steps, I can't even get it to compile. Is there something I'm missing?