Hi guys. I'm sorry if this is a totally stupid question and I'm missing something that completely basic.
I'm developing a compiled module (VS 2005 - off the DNN 4.9.0 vsi templates). So I have the intall version of DNN up and working and I've added a new project under the DesktopModules folder which is my compiled c# module. The project has its reference to the DotNetNuke.dll.
The problem I'm having is that in one of my user control pages I have the following directive:
<%@ Register TagPrefix="dnn" TagName="URL" Src="~/controls/URLControl.ascx" %>
I then have the controll declared as:
<dnn:URL ID="ctlURL" runat="server" Width="250" ShowNewWindow="True" ShowUsers="false" ShowTrack="false" ShowLog="false" />
but when in my code behind file I cannot get the value of the control by attempting to access its "Url" property. It doesn't even show up in the intellisense when I type ctlURL. (i.e. ctlUrl.Url)
I also noticed that when I switch to Design view in the control, the DNN user control is displayed with the message: (really, every UC has the same type of error message)
Error Rendering Control - ctlURL
The file '~/controls/URLControl.ascx' was not found.
Can someone shed some light on what I'm missing here in this picture?
Best regards,
Jose Lopez