6
Answers

i wat to clear existing Response.Header and add a new header.

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.

Answers (6)