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.
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.
Copyright © 2021 Jogjafile Inc.
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