I wrote two methods inside of a button click event. one for download to excel file. second one for download to text file. Both have " Response.AddHeader" codeline. i want to clear the Respond.Header() after the 1st method execution.
i also tried those things.
• response.clearcontent()
• Response.ClearHeaders()
• Response.Clear()
but not worked.