ok...i need to simple drop all html formats on the export?
here is the code i use:
[code]
private
{
Response.Clear();
Response.Buffer =
Response.ContentType =
Response.Charset =
System.IO.
System.Web.UI.
gridPhysician.RenderControl(oHtmlTextWriter);
gridPhysician.AllowPaging =
gridPhysician.AllowSorting =
Response.Write(oStringWriter.ToString());
Response.End();
}
ClearControls(ctrl.Controls[i]);
ctrl.Parent.Controls.Add(literal);
literal.Text = (
ctrl.Parent.Controls.Remove(ctrl);
[/code]