In my ASP.NET project. I put my css file in
\App_Themes\Default\theme.css
This is right under my project folder with all the aspx, master, web.config, etc.
How do I read that into a string using relative pathing from my .Master page? In C#.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the *.aspx page:
Or from the code behind:
(Description of the behavior and the difference between the twocan be found at: http://www.andornot.com/blog/post/ResolveUrl-vs-ResolveClientUrl.aspx)