Good morning all,
I have a question regarding the usage of DNN controls like Label or Login.
I have a module containing UserControl ( it is located in the following subdirectory: DesktopModules/TestModule/UserControls).
In this UserControl I want to use the DNN-Label control (I also tried the Login control).
I referenced it like this:
Register TagPrefix="dnn" TagName="Label" Src="~/controls/labelcontrol.ascx"
and used it like that:
<dnn:label id="lblTemplate" runat="server" controlname="txtTemplate" suffix=":"></dnn:label>
Unfortunately when I load the page I see nothing from the expected label. Same result with the Login control or any other controls.
How can I use DNN controls within my modules UserControl? Is there a way to do so? Or is this a bad approach to the problem?
Any help is kindly appreciated,
best regards
Andy