|
-
March 13th, 2008, 04:54 AM
#1
Response.Binarywrite backbutton problem
Hi all,
I've made a webpage where you can search for pdf-files. The result is listed in a datagrid. To view a pdf matching the searchcriteria, you simply click on a row in the datagrid, and then the pdf is viewed within the browser.
Problem is that when I push the browsers backbutton I don't come back to the searchresultview, but to the page BEFORE the searchresult.
I'm using Response.BinaryWrite to view the pdf (byteformat), which seems to overwrite the current browser view. When hitting the backbutton, the browser doesn't "remember" the former view, but throws me back to the page before that page ("2 steps back"). Is there a way for me to create a blank page (within the browser), and then view the pdf in that page? That should allow me to go back to the former view when I push the back button...
Or is there another smooth way I can keep the searchresultview and come back to that view when pushing the backbutton?
I don't want to open a new window when watching the pdf.
Last edited by marjoh; March 18th, 2008 at 04:27 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|