I am pretty new in DNN so this might sound a bit weird but here goes...
i am creating my own module. i have added a new ascx file and wish to insert a label to it. so i have registered a DNN label (just like in any other existing module):
<%@ Register TagPrefix="dnn" TagName="labeal" Src="~/controls/LabelControl.ascx"
Hi,
and afterwards :
table style="width: 100%"><tr>
<td style="width: 100px"><dnn:label id="abc" runat="server" controlname="abc" suffix=":"></dnn:label>
</td><td style="width: 100px"></td>
</tr>
<table>
getting an error: File '~/controls/LabelControl.ascx' was not found
i am working with DNN 4.5.5 with VS2005(.NET 2.0).
By the way, my module is located under the DesktopModules folder and when trying to access Src="../../controls/LabelControl.ascx" the error disappears but enother error appears: 'Element label is not a known element. This can occur if there is a compilation error in the website'.
Am i missing something trivial here ???
maybe sone references???
Please advise.
Thanks.
Ran.
<