Folks, now suppose you used master pages in ur asp.net webapps. Now you have some login and default pages at the solution level along with master page also.
Now rest of all pages/forms (what ever you say) are in separate folder like all administrative work pages are in Admin folder.
Here JS relative path problem occurs most of the time. So use below trick …..
- place asp.net literal control in <head> section of master page.
- in master.cs write below code in page load method…