S
sweetpotatop
Hi,
Recently, I came across a very strange issue.
I was trying to open an aspx page called "test.aspx" by using
Response.Write(WindowOpen(
"<script>window.open('" & "test.aspx" & "','" & "test" &
"','resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes,left=0,top=0,'
+ 'width=' + (screen.availWidth - 20) + ',height=' +
(screen.availHeight-110));</script>")
For some reason, it opened another aspx page. Before the page is even
loaded, I can see it was trying to load the page that I want, that is
"test.aspx" as I can see the caption of the page. But then it opens
the code of the other page when I debuged it. And a totally different
page is opened.
Any idea? Please advice. You help would be greatly appreciated.
Recently, I came across a very strange issue.
I was trying to open an aspx page called "test.aspx" by using
Response.Write(WindowOpen(
"<script>window.open('" & "test.aspx" & "','" & "test" &
"','resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes,left=0,top=0,'
+ 'width=' + (screen.availWidth - 20) + ',height=' +
(screen.availHeight-110));</script>")
For some reason, it opened another aspx page. Before the page is even
loaded, I can see it was trying to load the page that I want, that is
"test.aspx" as I can see the caption of the page. But then it opens
the code of the other page when I debuged it. And a totally different
page is opened.
Any idea? Please advice. You help would be greatly appreciated.