I'm developing a custom login module for Dotnetnuke based on the existing Active Directory provider.
I want to return a success/ fail message back to the browser and have used the attached code. When debugging, strMessage returns nothing.
The file name is ADLogin.ascx and sits in "/DesktopModules/AuthenticationServices/ActiveDirectory"
When debugging, Me.LocalResourceFile resolves to "/DesktopModules/AuthenticationServices/ActiveDirectory/App_LocalResources/ADLogin"
ADLogin is a copy of a page called "login.ascx' which sits in the same directory as ADLogin.ascx.
I don't understand why it's looking for ADLogin.ascx.resx in the ADLogin subfolder.
I have a copy of ADLogin.ascx.resx in both ActiveDirectory/App_LocalResources/ADLogin and ActiveDirectory/App_LocalResources.