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,menub ar=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. 1 932
Javascript is executed as browser sees it.
So if you have
WindowOpen(test.apx) in first line in your HTML then browser will open the
test.aspx right then, before it will render the original HTML to you
George.
<sw**********@yahoo.comwrote in message
news:04**********************************@26g2000h sk.googlegroups.com...
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,menub ar=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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Wolfgang Kaml |
last post by:
Hello All,
I have been researching newsgroups and knowledgebase all morning and not
found a solution that would solve the problem I have. I am having an ASP or
ASPX web page that implement a...
|
by: Simon Harvey |
last post by:
Hi everyone
I am having the following very bizzare and annoying problem:
I have a page that contains amongst other things, a check box that is set
according to a session variable.
When the...
|
by: Shaul Feldman |
last post by:
Hello,
I have a couple of things:
1)
a page contains a button that has some JS code attached to it
programmatically.
Also the page loads a web user control with LoadControl method. In UC I...
|
by: gh0st54 |
last post by:
Hi
I have a weird javascript error that only happens on my live server
when i open the page http://www.imrated.co.uk/reg.aspx
i get the error 'Problems with this page ... blablabla
Line : 3...
|
by: Samy |
last post by:
Hi There,
I have a stored procedure which takes 7 sec to execute. I am using a
adapter and filling the dataset. Then I bind the datagrid with the
datatable from the dataset. When I test the page...
|
by: Dees |
last post by:
Hi,
I am facing a weird problem with HTTPS and Request.Url.AbsoluteUri in my
ASP.NET application. Here is the scenario -
1. I have a menu page (Default.aspx), which has the following anchor -...
|
by: JV |
last post by:
Our site just built a machine to host a TEST version of a web site. The
site works fine on other servers, but on this one the home page is displayed
as if the ASPX file were just .TXT file. It...
|
by: Alan Silver |
last post by:
Hello,
I have a page that is supposed to do some checking, and if OK, set a
session variable before redirecting to another page. The following code
is a simplified version, I have hard-coded the...
|
by: Tom Edelbrok |
last post by:
I'm using VS 2005 to develop an intranet asp.net web application and I get a
weird situation. If I start out with any ASPX page that contains an
ImageButton control followed by a TextBox control,...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| | |