ASP.NET 2.0 ProfessionalIf you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
How to save an web page content into RTF/text file
I have some web page(asp.net) data(coming from text boxes,dropdownlist etc) which is been stored as HTML output.Then in a button click the output has to be transform into RTF/text file format.So, how can i do this. Is there any ContentType for the text/RTF format?Like i have been successfully saving to Excel format.
Perhaps no one has the answer. Have you found anything on google yet?
You are going to have to find a converter to get you an RTF stream. You can't just output plain text as RTF. The fact that you can output a table or other random data directly is simply the "feature" of Excel to be able to handle it.