Hi Guys,
I'm writing a program for work which uses the HtmlTextWriter to output html files (it's a reporting system). In each file I want to render a style tag at the beginning and to do this I'm using the HtmlTextWriterStyle enumeration.
This means I need to convert any value belonging to this enumeration into its equivalent html formatted string. Ideally, I'd like to make use of the GetStyleName function in HtmlTextWriter, but that's a private function :(.
Note: The enumerations ToString function doesn't convert the styles to syntactically correct Html.
Cheers,
Anthony