Click here to Skip to main content
15,888,212 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
want to create one custom Literal control for error messages and success messages. So for that I am creating custom server control with including css.
Please let me know how to include css in dll with ecample and demo.
Posted

You can use below given code on assembly info file to imbed css file in dll.

For more information go to How to Embed /Access JavaScript, CSS, Images in an Assembly.[^]
[assembly: System.Web.UI.WebResource("TextBox.css", "text/css")];
 
Share this answer
 
Please clear this with Example. I have read this article of Bhupendra Sinha sir.
But I want deep example. Please give me solution in details.
 
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