TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


Add JavaScript or CSS file programmtically to ASP.NET page

//Add CSS File
Page.Header.Controls.Add(new LiteralControl("<link href='style.css' rel='stylesheet' type='text/css' />"));

//Add JavaScript file
ClientScript.RegisterClientScriptInclude("javascriptfile", ResolveUrl("~/javascript.js"));


Categories: ASP.NET | JavaScript
Posted by developer on Wednesday, July 22, 2009 9:40 PM
Permalink | Comments (1) | Post RSSRSS comment feed

Comments

Niche Blueprint 2.0 Review United States

Thursday, December 31, 2009 4:54 PM

Niche Blueprint 2.0 Review

I love reading your posts. I wish you a Happy New Year!

Add comment


(Will show your Gravatar icon)

  Country flag


Loading