hi,i am facing the problem in the exporting the data from the datagrid to excel, I have master page concept in the project where as i am trying to create the export function in the child contrl.on the button click i wrote the below code Response.Clear(); Response.AddHeader("Content-Disposition", "Attachment; FileName = FileName.xls"); Response.Charset = "";