Click here to Skip to main content
15,891,136 members
Articles / Web Development / ASP.NET

Embedding Javascript in Asp.Net

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
5 Jul 2011CPOL 14K   1  
There is a fourth function.RegisterClientScriptResource(): Adds a reference to a JavaScript file that has been embedded into an assembly (DLL). Read more about that here: Managing Your JavaScript Library in ASP.NET.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
5 Jul 2011Sunasara Imdadhusen 1 alternative  
This is going to do something much more interesting than merely render some HTML to the browser. This is going to inject Javascript and CSS into its containing page.

License

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


Written By
Web Developer
United States United States

  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):

Comments and Discussions