I want to design some controls, like Menu for instance, which have their own css and js files. I'm also going to store controls in separate directory (let's say ~/Controls). How "include" the js and css files in ~/Controls/ControlName/ directory and then refer to them properly from Web Forms, keeping in mind that aspx may be also in some directory tree?
I added link/script tags to the ascx file, but they seem to be working relatively, so ~/Default.aspx works, while ~/SomeFolder/Default.aspx not.
Of course I can add all references to the masterpages/pages, but I am wondering if there's another solution?
Thanks in advance