How to get a list of Css classes from a chosen Theme in App_Themes folder and display them in a DropDownList control?
Any suggestions on this would be highly appreciated. Thanks.
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.
You maybe able to parse the CSS code from each of the css files within the theme’s folder using this : http://www.codeproject.com/KB/recipes/CSSParser.aspx and then show the classes in a list or dropdown.
Also take a look at this SO question