aspx page executes twice

R

rajendra.mishra

Hi...

I have a frame(Report.htm) which has two aspx pages one for
header(header.aspx) and the other for displaying reports(Report.aspx).
when Report.htm is called Report.aspx executes twice. I have checked
for autoeventwireup. it is set to false in all the pages.cant say why
is this happenning or i suppose that for frames this is an existing
issue..

In Report.aspx i am generating an crystal report in PDF Format. I'LL
just paste the last part

Dim objFileInfo As FileInfo
objFileInfo = New System.IO.FileInfo(strReportPath)
'Response.Clear()
' Write PDF to the browser.
With httpCommands
.Response.ClearContent()
.Response.ClearHeaders()
.Response.ContentType = "application/pdf"
.Response.WriteFile(objFileInfo.FullName)
.Response.End()
End With

I have tried using trace but it doesnt give up any clear indication.
there are also no URL 's which gets called either in code behind or
clent side script.

any hep would be appreciated.

Thanks
Raj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top