Click here to Skip to main content
15,904,822 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,
where can i put javascript static class in asp.net web application for available for all pages of the project.
thank you advance
Posted
Comments
bbirajdar 21-Jul-12 13:51pm    
This term 'javascript static class in asp.net web application' in your question is misleading.. And the reason you are gettign different answers...

Add it to the 'Scripts' or any folder in the website and register the link to the .js file on the Master Page.
 
Share this answer
 
Comments
Espen Harlinn 21-Jul-12 7:52am    
5'ed!
You can put your class in App_Code folder of your ASP.NET application to make it available to all the web pages.

Visual Studio -> Right click web application project -> Add ASP.NET Folder -> Add 'App_Code' folder. This is a special folder.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900