During download excel file, in chrome showing this error but in firefox it working fine.
BindDatatable();
Response.ClearContent();
Response.Buffer = true;
Response.AddHeader("content-disposition", string.Format("attachment; filename={0}", "Team_Performance_Report_of '" + drpdwndepartment.SelectedItem.ToString() + "' department from '" + txtfrom.Text + "' to '" + txtto.Text + "' of " + drpdwnbranch.SelectedItem.ToString() + " branch.xls"));
Response.ContentType = "application/ms-excel";