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.
Response.ContentType = "application/vnd.ms-excel";
Response.Charset = "";
this.EnableViewState = true;
Message.Text = "";