i am converting aspx web page into ms word , its converting properly, but i am highlighting some text in my web page but its not reflecting in word. How can i get the proper text with yellow color highlight in word format after convert.
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-disposition",
"attachment;filename=Text.doc");
Response.Charset = "";
Response.ContentType = "application/vnd.ms-word ";
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
Page.DataBind();
//Page.RenderControl(hw);
Response.Output.Write(sw.ToString());
Response.Flush();