Hi ,
i am using a telerik radGrid and i invoke the exportExcel fonctionality , when exporting i catch the event and i try to saving the result excel file in my disq , My problem is in using french caracter ( é , à , ... ) in grid column title who make chines carracter in my excel file .
thank's for reply .
i am using a telerik radGrid and i invoke the exportExcel fonctionality , when exporting i catch the event and i try to saving the result excel file in my disq , My problem is in using french caracter ( é , à , ... ) in grid column title who make chines carracter in my excel file .
protected void GridPJ_GridExporting(object source, GridExportingArgs e)
{
string path = ((CImport)Session["CImport"]).sFileExcel;
using (FileStream fs = File.Create(path))
{
Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput);
fs.Write(info, 0, info.Length);
}
Session["Export"] = true;
Response.Redirect(Request.Url.ToString());
}
thank's for reply .