I recently set up the 'blankmodule' solution suggested by Vladan Strigo
and have created a number of simple modules with it. A quick and easy
framework. I applaud the thought that went into it.
One thing I've found is that my paths are possibly problematic.
The modules are located in [approot]/desktopmodules/modulename/ and if
I reference something like the textbox control then I would normally
register it like this:
Src="~/controls/TextEditor.ascx"
but VS2005 puts a squiggly red line underneath saying "file '~/controls/TextEditor.ascx' was not found".
I thought, ok since these are just for my clients, for now I'll work around it with a more defined path and I tried this:
Src="../../controls/TextEditor.ascx"
That also fails (with similar message).
This works:
Src="../../../controls/TextEditor.ascx"
Currently it's all on my dev server at http://localhost/dnndev/
Obviously I can use the curious solution for my clients but if I want a distributable module then this is not ideal (well, maybe it's ok for this example)... but why can't I use the tilde?!