Hello,
I have a requirement that specifies that I display a "Please Wait..."
window (preferably modal) along with a gif that mimics a progress bar
during a save operation. The dialog needs to be closed at the end of
the operation. How do I go about this...
Issues are:
1. I believe a showModaldialog would stop all back ground processing
and shift control to the modal dialog.
2. I would like to close the dialog from the parent window when the
process is complete.
Please do let me know of any options that I can use for this...
Thanks in advance 3 13469
Kannan wrote: Hello, I have a requirement that specifies that I display a "Please Wait..." window (preferably modal) along with a gif that mimics a progress bar during a save operation. The dialog needs to be closed at the end of the operation. How do I go about this...
Issues are: 1. I believe a showModaldialog would stop all back ground processing and shift control to the modal dialog. 2. I would like to close the dialog from the parent window when the process is complete.
Please do let me know of any options that I can use for this...
Thanks in advance
Hi Kannan,
I assume you call some serversidescrip t that takes a lot of time to finish.
Is that correct?
If correct, this is an easy way to accomplish your wishes:
1) let the server output HTML that includes some javascript.
Be sure to flush this!
2) the javascript is written in the head, and executed right away (no
OnLoad!!)
3) The javascript creates a new window that contains a nice 'please wait'
with some progresbar. Lets name it windowPLeaseWai t.
4) when you serverside script finishes, it outputs new javascript with the
windowPLeaseWai t.close()
That should do the trick.
Regards,
Erwin Moller
Erwin Moller wrote on 27 Nov 2003:
<snip> I assume you call some serversidescrip t that takes a lot of time to finish. Is that correct? If correct, this is an easy way to accomplish your wishes:
1) let the server output HTML that includes some javascript. Be sure to flush this! 2) the javascript is written in the head, and executed right away (no OnLoad!!) 3) The javascript creates a new window that contains a nice 'please wait' with some progresbar. Lets name it windowPLeaseWai t. 4) when you serverside script finishes, it outputs new javascript with the windowPLeaseWai t.close()
Just be aware that pop-up blockers will block this.
Mike
--
Michael Winter M.******@blueyo nder.co.uk.invalid (remove ".invalid" to reply)
Michael Winter wrote: Erwin Moller wrote on 27 Nov 2003:
<snip>
I assume you call some serversidescrip t that takes a lot of time to finish. Is that correct? If correct, this is an easy way to accomplish your wishes:
1) let the server output HTML that includes some javascript. Be sure to flush this! 2) the javascript is written in the head, and executed right away (no OnLoad!!) 3) The javascript creates a new window that contains a nice 'please wait' with some progresbar. Lets name it windowPLeaseWai t. 4) when you serverside script finishes, it outputs new javascript with the windowPLeaseWai t.close()
Just be aware that pop-up blockers will block this.
Mike
True Mike,
If that is a worry, a good alternative could be:
Place an image 'please wait' (animated or not) and replace that image when
the end-of-page is flushed with an empty image or 'finished'.
Regards,
Erwin Moller This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: metsymani |
last post by:
In my web application, I have a search screen coded in ASP.Net. The Search process takes lot of time. So, I need to show a wait page informing the user that "Search is in progress. Please wait" along with an animated gif. I have placed a div in the search page which contains the message and animated gif. I hide the div by making "display: none" in the onload function of the body tag.
On click of the Search button(type = Submit), I call a...
|
by: John Dalberg |
last post by:
Hi
I have a form that opens a new window for the results. Because the results
might take a few seconds due to server processing, I would like to display
a message "please wait" in the new window, erase that message when the
processing is done and show the results.
How is this done?
John Dalberg
|
by: John Walker |
last post by:
Hi,
I have a datagrid with a radiobutton template column, with AutoPostBack set
to TRUE. When the user clicks on a radiobutton the application will
PostBack, and in the PostBack there will be certain logic performed, and the
dataview will be re-binded to the datagrid. There turns out to be about 2-5
seconds delay between the time the user clicks the radiobutton and when the
page is completely re-loaded. During this time the user may try...
|
by: Agnes |
last post by:
As the user click 'save' , i want to show a little prompt' Record is saved"
(for 1-2 secs) , then it will closed automically,
In my previous vfp application, there is a function "wait window" .
In .net, is there any similar features ?
Thanks
From AGnes
|
by: bdog4 |
last post by:
I've seen on some php forums that they use some type of popup box that
I assume is javascript to display a animated gif/flash when you do a
quick edit. My popup blocker does not detect it so I leads me to
believe it is javascript. Does anyone have an ideas on how I can do
this or an example/tutorial? They use it on Invision Power Boards
Thanks
| |
by: =?Utf-8?B?Z2VvZmZh?= |
last post by:
I cannot figure this out and would appreciate any help.....
I have a datagrid view that displays the results from a Stored Procedure.
it can take awhile to load.....
the stored procedure fires when a Calendar is clicked. ( a date is part of
the stored procedure ) How can i just show a new page or a pop-up that says
"please wait" until the stored procedure has run and gotten all the data and
the page is completely loaded? In all the...
|
by: Jeremy |
last post by:
Hi all,
I have database actions that will potentially take several seconds to
complete.
My normal page uses AJAX so keeping the user informed of what is
happening is not a problem.
However, the page also has fallback code in case of no Javascript. In
this case I would like to display temporary "please wait" type page
|
by: ccbryan |
last post by:
I have Googled and Googled, but I only find explanations of this for ASP.NET, etc. How do you put up a 'please wait' window at the beginning of a process and close it at the end of the process in a regular non-web VB.NET application? Seems like there should be a straightforward way to do this...
Thanks,
Chandler
|
by: =?Utf-8?B?Sm9obiBXYWxrZXI=?= |
last post by:
Hi,
I have a webpage designed with asp.net 2.0.
Is there a way to display a "please wait" message to the screen horizontally
centered and veritcally 20px from the VISIBLE top of the page, regardless of
what kind of scrolling the user has done?
I am currently displaying a "please wait" message (the DIV section shown
below, which i'm showing/hiding) when the user clicks save, but the user is
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
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...
| |