All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
protected
void
RadGrid1_GridExporting(
object
source, GridExportingArgs e)
{
string
path = Server.MapPath(
"~/NewFolder1/MyFile.xls"
);
//specify the folder name
using
(FileStream fs = File.Create(path))
Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput);
fs.Write(info, 0, info.Length);
}
Response.Redirect(Request.Url.ToString());