Response.BinaryWrite does not seem to be working when the page is launched as a modal dialog! I don't know what is happening? I do have
<base
target="_self"/> in my page.aspx file.
Anyways, here is what I have to do: I have a page which I display using showModalDialog. then when the user selects something on this dialog, I want to close this dialog and do a Response.BinaryWrite so that client can download a file.
I am having the same problem. I wrote a page that does response.binarywrite(xxxxxx). This works when I do it from a normal page, but when it's done from a modal, it hangs.
I believe this is a 2.0 problem because I am able to do this in a modal in .NET 1.1 . But when I use the same code in a modal in .NET 2.0, it just hangs. Anyone else run into this? Solutions? Ideas? Thanks, all
mbalusu
Member
5 Points
1 Post
showModalDialog does not work with Response.BinaryWrite
Oct 27, 2006 11:41 PM|LINK
Hello all,
Response.BinaryWrite does not seem to be working when the page is launched as a modal dialog! I don't know what is happening? I do have <base target="_self"/> in my page.aspx file.
Anyways, here is what I have to do: I have a page which I display using showModalDialog. then when the user selects something on this dialog, I want to close this dialog and do a Response.BinaryWrite so that client can download a file.
Thanks!
FrankMatteso...
Member
15 Points
10 Posts
Re: showModalDialog does not work with Response.BinaryWrite
Nov 09, 2006 05:46 PM|LINK
I am having the same problem. I wrote a page that does response.binarywrite(xxxxxx). This works when I do it from a normal page, but when it's done from a modal, it hangs.
I believe this is a 2.0 problem because I am able to do this in a modal in .NET 1.1 . But when I use the same code in a modal in .NET 2.0, it just hangs. Anyone else run into this? Solutions? Ideas? Thanks, all