I am working on an .ASP net project. I have created some user controls which are in a folder named "Controls" . This folder also contains the images folder that store user control images.
I have no problem viewing the controls with their images on folders that are in the main directory, like the default.aspx page.
But when i insert these controls to another pages which are under some folders, and view it on browser i am ot able to see the images on user controls.
One way to solve this problem i found is to have an images folder on all sub folders in my project, but this is not managable of course.
I would appreciate if anyone can help me on how to fix this problem, and some best practices on how to deal with similar problems.