Last post Feb 15, 2009 12:50 PM by karthipec_gmail
Feb 14, 2009 01:28 AM|sweetyPaul|LINK
I have to create and save a word document(report) from asp.net.we have the string in html format.but while writing this text to word,the tags are also displaying.I want to remove this tags and diplay in a neat format.ie,<b>hello</b> should display in bold.
Feb 14, 2009 03:42 AM|bohunt|LINK
Use a HTML editor?
Feb 15, 2009 12:50 PM|karthipec_gmail|LINK
I am not sure if u're expecting the formatting to be preserved or not. If u just dont want the tags to be present, write a RegExp that removes all the tags and gives u only the plain text.
And if u need the formatting, save the html content in a file and rename it to a doc file and while downloading, set the response header to