I have a custom module that I am developing using AJAX and at the top of the module I have a reference to a javascript file that is in my modules folder:
<asp:ScriptManagerProxy ID="smp" runat="server">
<Scripts>
<asp:ScriptReference Path="~/DesktopModules/mymodule/module.js" />
</Scripts>
</asp:ScriptManagerProxy>
The problem comes in that somewhere along the line in rendering the page, the path to the js file is rendered as http://www.mysite.com/home/desktopmodules//mymodules/module.js not the correct url of http://www.mysite.com/desktopmodules//mymodules/module.js. (verified this using Firebug to show the missing file)
This also seems to happen in module development anywhere that I use the "~/" syntax of .NET to reference the file starting at the root. (images, etc)
Haven't been using DNN that long and iFinity an even shorter time but doing .NET and VB for what seems like forever.
Thanks
leo