473,320 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

XP SP2 and opening windows

I have an application page with a datagrid with a checkbox on each row. The
user should check the rows they want to modify and then click a button. When
the button is clicked, I have a Click handler that builds a url and then
registers a startup script to open a modal dialog window. With XP SP2
installed the pop-up blocker stops the windows from displaying. Is there any
way around this? My users are too stupid to turn off the popup blocker or
anything else to allow the modal to display. I need it to work without the
user having to do anything.

I kinda doubt that it's possible since the web interface for these
newsgroups suffer from the same problem.

So, are we going to allow developers to create internet applications, or is
Microsoft basically killing internet applications by not allowing you to make
a webpage into an application? The popup blocker should be turned off by
default and there should be a way to open windows from server-side event
handlers that are called when a button is clicked.
Nov 18 '05 #1
2 2057
Matt Hamilton wrote:
I have an application page with a datagrid with a checkbox on each
row. The user should check the rows they want to modify and then
click a button. When the button is clicked, I have a Click handler
that builds a url and then registers a startup script to open a modal
dialog window. With XP SP2 installed the pop-up blocker stops the
windows from displaying. Is there any way around this? My users are
too stupid to turn off the popup blocker or anything else to allow
the modal to display. I need it to work without the user having to do
anything.
Matt, why don't you create a nice help page with lots of screenshots that
shows your users how to fix the problem? They would need to do it only once
if they put your site on the exception list (or whatever it is called in the
English version of IE).
I kinda doubt that it's possible since the web interface for these
newsgroups suffer from the same problem.

So, are we going to allow developers to create internet applications,
or is Microsoft basically killing internet applications by not
allowing you to make a webpage into an application?
You're disregarding the first law of web applications: The broader your user
base is, the more restricted is your choice of technologies. If your
application breaks with XP SP2 while your users are free to use whatever
(Windows) OS version they like, it's your problem.

I also don't feel that "modal windows" and "web applications" really fit
together. Why not display the dialog in the same browser window?
The popup blocker
should be turned off by default
I strongly disagree, but YMMV.
and there should be a way to open
windows from server-side event handlers that are called when a button
is clicked.


That's impossible -- server-side code runs on the server. How is that
supposed to open anything on the client machine?

Cheers,
--
Joerg Jooss
jo*********@gmx.net
Nov 18 '05 #2
My user base is restricted to Windows PCs and Internet Explorer 5.5+. They
expect any application to function like all other applications function (i.e.
What good would a spell checker do if it opened in place of the document
instead of in another window/dialog or frame? What if the Solution Explorer
in Visual Studio always opened in place of the currently open document? What
if we could not have multiple documents open at the same time at all? What if
Excel forced you format cells without a dialog window? And there are probably
many more relevant examples... ). The key to our application is being able to
see all other grid rows while modifying any number of grid rows (this occurs
in about 100 different places) so it makes sense to have a modal dialog which
allows the user to see the content of the main browser window while not being
able to focus on anything except the modal window. Why should an internet
application that is restricted to IE 5.5+ follow different rules than a
Visual Basic application? Could I have my internet application verifed by
Microsoft as safe and then prompt the user to add it to their trusted sites
when they first login to the app?... Actually, can I do that myself?... IE
defaults to downloading plugins with a simple warning... Why not say, "The
site you are visiting is trying to include itself in your list of trusted
sites. This could affect the security of your PC. Do you wish to continue?"
Instead of displaying a help message that says do this, then this, then this,
then this... Now you can use our application. It is hard enough to market an
internet application in my industry without adding an "install" process.

I agree that users should learn to adapt and change their preferences
themselves on occasion, but the fact is, they should not have to in this
case. Microsoft claims that the popup blocker stops popups that are not
created by a direct user action. I would call a button click on a button
titled "Open Modify Window" a direct user action. The fact that I need to go
back to the server to build the url is my business and the user should not
have to be told that some buttons work because they open with the client-side
onclick and some do not work because they need a trip to the server before
the window opens. Either block all popup windows or let us open windows with
the server-side equivalent client-side event handlers that are currently
allowed to open modal dialogs... Why the hypocrisy?

I think that users who visit the shady sites that misuse popups should have
to change their preferences to block popups instead of blocking popups for
everyone by default. Also, why is it more important to include a popup
blocker than integrated virus protection? Windows cannot recognize a
virus-infected file a user downloads, yet it will stop an extra window from
opening on a webpage that the user chooses to visit.

"Joerg Jooss" wrote:
Matt Hamilton wrote:
I have an application page with a datagrid with a checkbox on each
row. The user should check the rows they want to modify and then
click a button. When the button is clicked, I have a Click handler
that builds a url and then registers a startup script to open a modal
dialog window. With XP SP2 installed the pop-up blocker stops the
windows from displaying. Is there any way around this? My users are
too stupid to turn off the popup blocker or anything else to allow
the modal to display. I need it to work without the user having to do
anything.


Matt, why don't you create a nice help page with lots of screenshots that
shows your users how to fix the problem? They would need to do it only once
if they put your site on the exception list (or whatever it is called in the
English version of IE).
I kinda doubt that it's possible since the web interface for these
newsgroups suffer from the same problem.

So, are we going to allow developers to create internet applications,
or is Microsoft basically killing internet applications by not
allowing you to make a webpage into an application?


You're disregarding the first law of web applications: The broader your user
base is, the more restricted is your choice of technologies. If your
application breaks with XP SP2 while your users are free to use whatever
(Windows) OS version they like, it's your problem.

I also don't feel that "modal windows" and "web applications" really fit
together. Why not display the dialog in the same browser window?
The popup blocker
should be turned off by default


I strongly disagree, but YMMV.
and there should be a way to open
windows from server-side event handlers that are called when a button
is clicked.


That's impossible -- server-side code runs on the server. How is that
supposed to open anything on the client machine?

Cheers,
--
Joerg Jooss
jo*********@gmx.net

Nov 18 '05 #3

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

Similar topics

2
by: Dena Leiter | last post by:
I want to send people to a new page using a redirect but I want a new window to open. Is this possible? I've tried this: <meta http-equiv="refresh"...
1
by: Eric Cadwell | last post by:
We're running Load Runner to test a large 1.0 based WinForms application. I'm getting the following exception when opening and closing a form 400 - 450 times. The form contains several controls and...
1
by: Alfons | last post by:
Hello, I have build a program that can do file transferring between a Windows XP computer and a DOS computer via a serial port. The Windows program I have build in C++ with Visual Studio 6.0....
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
9
compman9902
by: compman9902 | last post by:
Hello, and thank toy for reading this post. Thus far, this website has helped me a lot, (I have finally finished my encryptor: "site removed by moderator", go to the downloads link) and I will...
3
by: lopedon | last post by:
I've got a performance issue in Access 2000 running on Windows 2000. Opening a table local to the MDB takes about 1-2 seconds normally. If I log out of the windows profile that is normally used on...
0
by: Jeremy Noring | last post by:
Hi, I have an application that loads various settings from the app.exe.config file. This has worked very well on w2k, XP, and Vista. However, recently I've been troubleshooting an issue on...
3
by: Luke Davis | last post by:
I'm looking for an effective way to open and close TCP ports. Can I do this through Tcpclient? And I know this is a potential security risk, so what kind of permission must the person running...
15
by: anon | last post by:
I have a page where the ASP script create a table of links i.e. 1 = NextPage.asp?Item=1 2 = NextPage.asp?Item=2 etc What I would like to do is open an new window with this link without any...
2
by: John | last post by:
Hi I have a number of forms which open like this; Dim frm1 As frmForm1 = New frmForm1 Dim frm2 As frmForm2 = New frmForm2 Dim frm3 As frmForm3 = New frmForm3 Dim frm4 As frmForm4 = New...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.