473,608 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Browser window suddenly minimizing in ASP.NET?

We have a specific javascript call made from a standard HyperLink control
that is opening up a link in a new window using the window.open javascript
function. The page is on ASP.NET. Up until a few weeks ago things worked
very well though recently we started to see the pop-up browser window
actually minimize right as it opened. It happens on different machines for
that same page only and all in IE. Has anyone ever had a window.open url
open in a new window then minimize quickly without clicking anything? We
tried giving focus to the new window etc all with no luck. Anyhow we're not
sure if server-side code is responsibel somehow for this or not but the
output HTML looks standard. Thanks again for your help on this one!

Christopher
Nov 19 '05 #1
2 1909
Could it be connected to a pop-up blocker?

"Christophe r" <Ch*********@di scussions.micro soft.com> wrote in message
news:A4******** *************** ***********@mic rosoft.com...
We have a specific javascript call made from a standard HyperLink control
that is opening up a link in a new window using the window.open javascript
function. The page is on ASP.NET. Up until a few weeks ago things worked
very well though recently we started to see the pop-up browser window
actually minimize right as it opened. It happens on different machines
for
that same page only and all in IE. Has anyone ever had a window.open url
open in a new window then minimize quickly without clicking anything? We
tried giving focus to the new window etc all with no luck. Anyhow we're
not
sure if server-side code is responsibel somehow for this or not but the
output HTML looks standard. Thanks again for your help on this one!

Christopher


Nov 19 '05 #2
We initially thought it was a pop-up blocker or some other browser mechanism
but the pop-up minimizes and doesn't actually close. Also, it happens on
multiple machines on both Windows 2000 Server and Windows XP Pro. It's
somewhat of a silly behavior to be discussing but it really got our
developers wondering. Again, we click the link, the window opens and loads
just fine, then right as it loads it minimizes to the back.

We tried to set the window.open to a variable and focus it with no luck..

i.e.
var mywin = window.open(... .);
mywin.focus();

but no luck, thank you again for your help on this one it felt a bit funny
posting this tiny thing but we were out of options to look at was all...

Christopher

"Ken Cox [Microsoft MVP]" wrote:
Could it be connected to a pop-up blocker?

"Christophe r" <Ch*********@di scussions.micro soft.com> wrote in message
news:A4******** *************** ***********@mic rosoft.com...
We have a specific javascript call made from a standard HyperLink control
that is opening up a link in a new window using the window.open javascript
function. The page is on ASP.NET. Up until a few weeks ago things worked
very well though recently we started to see the pop-up browser window
actually minimize right as it opened. It happens on different machines
for
that same page only and all in IE. Has anyone ever had a window.open url
open in a new window then minimize quickly without clicking anything? We
tried giving focus to the new window etc all with no luck. Anyhow we're
not
sure if server-side code is responsibel somehow for this or not but the
output HTML looks standard. Thanks again for your help on this one!

Christopher


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1926
by: Brad Jones | last post by:
<Previously posted in microsoft.public.dotnet.framework.windowsforms> Hi all. Any suggestions here would be appreciated. Thanks for reading. I'm primarly a C++ developer but I've been trying to complete development on a C# application with the following basic requirements: - The app runs in the background is initially hidden from the user, including the Windows Taskbar. - The app needs to receive a registered Windows message - The app...
4
6010
by: Bernard | last post by:
Hi, I am suddenly getting Safari script errors with the following user agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8 In a frameset scenario, the framesetting document (top) contains a
2
1466
by: Marty | last post by:
Hi, I am using Internet Explorer 6.0 and I have a piece code which pops up a new charges window whilst redirecting to a different page on the underlying aspx screen. However when my new pop up window appears it suddenly minimises itself. The code seems fine, but here it is just in case anyone can spot anything.
3
3081
by: NL | last post by:
Hi, Does anybody know how to turn off the animation Windows does with a window as it's minimized/maximized to the taskbar? I have an app which, when minimized, syncs to any other open instances of the app and tells them to minimize. If I have more than a couple instances open, the user ends up waiting quite a while for all of windows to minimize, since each minimizing animation is done consecutively and not in parallel.
1
1192
by: Jawahar | last post by:
All, I have an ASP.net application from which I allow users to run reports that are crystal reports and exported to PDF format, in addition there are other static documents that users can view in pdf format. Each time a PDF document is opened, it is opened in a new window (this fine) but the windows seems to minimize. Why does this happen, is it code related? This is what I use: With Response
4
3756
by: MrMike | last post by:
Hi. I have a hyperlink control (lnkViewLogData) which is assigned the following attribute when the page loads... Me.lnkViewLogData.Attributes.Add("onClick", _ "javascript:window.open('Input_New_Record_CustomerInformation.aspx?CustomerID=" & Me.lblCustomerID.Text & "','myWin','');") As you can see, when this attribute is assigned the hyperlink is formatted to pop open another window. The problem is that when the window opens, it...
4
4382
by: Blaine | last post by:
Does anyone know how I can hide a form from the TaskManager? I've set the ShowInTaskbar to False, but when using Alt-TAB to switch between applications, it appears as a blank icon. I can set it as a SizableToolWindow, but then I no longer have the minimize button on the caption. Is there a way to mimic a (FormBorder) sizable tool window (so it doesn't appear in the tasklist) and still show the Min, Max and Close control buttons? (Or...
5
3472
by: Scott | last post by:
Hi everyone, I have a c# console app that when run through an autorun.inf file, launches a web page from the CD. It works just fine but I would like the console window minimized on startup. Currently, the console window displays briefly, the web page loads, and the console window disappears. The only line of code currently in the console app is... System.Diagnostics.Process.Start("blahblahblah.htm")
5
13629
by: Dag Sunde | last post by:
Is it possible to detect if the user minimizes the browser-window? I do some polling, and want to stop it while the window in minimized, but not when it only is blurred... TIA... -- Dag.
0
8003
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8498
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8478
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1598
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1331
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.