How can I list available Css Classes from my App_Themes folder?
-
05-03-2021 - |
Frage
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.
Lösung
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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow