inside this folder i have two file 1.html and 1.css
in aspx page, i have a panel, inside panel i have a label into which i am rendering the html which contains few controls say
| : |
| : |
what i want is at runtime the css should be applied to these html control and not any other aspx control.
how i can do this.
can i render this html directly to panel without using label
lblHtml.Text = System.IO.File.ReadAllText(Server.MapPath("~/HTML/1.html"));
how to apply css to this html so that when rendered to aspx page, it should have all those css applied to it.
kindly help
Replies
Know the answer? Post it — somebody with the same question will find it here.