I have a button on my page which when clicked redirects to another page. on
the page load of the page that I've redirected to, there is a long query.
What I want to do is with dhtml, display test in the center of the screen
saying 'please wait..' so that the text displays until the new page is
returned. My problem is that the html is not visually updated because the
browser is busy waiting for the http request to complete. Is there any way
around this? 6 5712
This is simplest solution I've seen: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
--
I hope this helps,
Steve C. Orr, MCSD http://SteveOrr.net
"Jeremy Chapman" <me@here.com> wrote in message
news:O7******** *****@TK2MSFTNG P09.phx.gbl... I have a button on my page which when clicked redirects to another page. on the page load of the page that I've redirected to, there is a long query. What I want to do is with dhtml, display test in the center of the screen saying 'please wait..' so that the text displays until the new page is returned. My problem is that the html is not visually updated because the browser is busy waiting for the http request to complete. Is there any way around this?
I don't think this will work for me because the contents of the original
page will disappear until the results of the new page appear. I want a
please wait dialog to display over top of the original page to make things
look seamless. I'm sure I can avoid using an intermediate page to achieve a
please wait dialog, somehow there must be a way to force the dhtml change
to visually update.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message
news:Or******** *****@TK2MSFTNG P12.phx.gbl... This is simplest solution I've seen: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
-- I hope this helps, Steve C. Orr, MCSD http://SteveOrr.net
"Jeremy Chapman" <me@here.com> wrote in message news:O7******** *****@TK2MSFTNG P09.phx.gbl...I have a button on my page which when clicked redirects to another page. on the page load of the page that I've redirected to, there is a long query. What I want to do is with dhtml, display test in the center of the screen saying 'please wait..' so that the text displays until the new page is returned. My problem is that the html is not visually updated because the browser is busy waiting for the http request to complete. Is there any way around this?
You may want to check out these 2 examples from
Dave Sussman's and Alex Homer's "ASP 1.1 Insider Solutions" : http://www.daveandal.net/books/6744/...implewait.aspx http://www.daveandal.net/books/6744/...ogressbar.aspx
There's links to source code in both,
and I think they do what you're looking for.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"Jeremy Chapman" <me@here.com> wrote in message
news:ue******** *****@TK2MSFTNG P09.phx.gbl... I don't think this will work for me because the contents of the original page will disappear until the results of the new page appear. I want a please wait dialog to display over top of the original page to make things look seamless. I'm sure I can avoid using an intermediate page to achieve a please wait dialog, somehow there must be a way to force the dhtml change to visually update.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message news:Or******** *****@TK2MSFTNG P12.phx.gbl... This is simplest solution I've seen: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
-- I hope this helps, Steve C. Orr, MCSD http://SteveOrr.net
"Jeremy Chapman" <me@here.com> wrote in message news:O7******** *****@TK2MSFTNG P09.phx.gbl...I have a button on my page which when clicked redirects to another page. on the page load of the page that I've redirected to, there is a long query. What I want to do is with dhtml, display test in the center of the screen saying 'please wait..' so that the text displays until the new page is returned. My problem is that the html is not visually updated because the browser is busy waiting for the http request to complete. Is there any way around this?
I think this will do what I need. Thanks.
Unfortunately the refresh causes the little progress bar in the status bar
of the browser to disappear, so at first I thought my implementation wasn't
working, but it does seem to work. Thanks.
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. You may want to check out these 2 examples from Dave Sussman's and Alex Homer's "ASP 1.1 Insider Solutions" :
http://www.daveandal.net/books/6744/...implewait.aspx http://www.daveandal.net/books/6744/...ogressbar.aspx
There's links to source code in both, and I think they do what you're looking for. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"Jeremy Chapman" <me@here.com> wrote in message news:ue******** *****@TK2MSFTNG P09.phx.gbl...I don't think this will work for me because the contents of the original page will disappear until the results of the new page appear. I want a please wait dialog to display over top of the original page to make things look seamless. I'm sure I can avoid using an intermediate page to achieve a please wait dialog, somehow there must be a way to force the dhtml change to visually update.
"Steve C. Orr [MVP, MCSD]" <St***@Orr.ne t> wrote in message news:Or******** *****@TK2MSFTNG P12.phx.gbl... This is simplest solution I've seen: http://www.aspnetpro.com/NewsletterA...200308bm_l.asp
-- I hope this helps, Steve C. Orr, MCSD http://SteveOrr.net
"Jeremy Chapman" <me@here.com> wrote in message news:O7******** *****@TK2MSFTNG P09.phx.gbl... I have a button on my page which when clicked redirects to another page. on the page load of the page that I've redirected to, there is a long query. What I want to do is with dhtml, display test in the center of the screen saying 'please wait..' so that the text displays until the new page is returned. My problem is that the html is not visually updated because the browser is busy waiting for the http request to complete. Is there any way around this?
I think if you use javascritp is easier.
OnClick button you add attribute like this:
btnSave.Attribu tes.Add("onclic k", "return PleaseWait()")
Javascript function is:
function PleaseWait(){
document.getEle mentById("Label Msg").value='Pl ease wait while your
request is being processed';
}
LabelMsg is your Label where you want to put your message While Wait.
*** Sent via Developersdex http://www.developersdex.com ***
Hi,
I have created a true MVC-pattern for ASP.NET that allows dialogs
windows in ASP.NET just like you would do when using WinForms.
I am using a technique called server-side-blocked calls (server-side
AJAX).
On my website there are four demos online and also a recording of a
live-coding-example (executable desktoprecordin g). http://www.inchl.nl
The framework is freeware and is currently being applied in several
projects.
It's real cool, please tell all your friends about it!
It has saved me a lot of developping time.
Kind regards,
Stephan Smetsers st************* @hotmail.com http://www.inchl.nl
*** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dave |
last post by:
I first started using HCW.exe to compile .rtf filew created with MS Word a
couple of weeks ago. I used the file | new
menu then selected New project in the dialog box and everything worked as
expected.
After this I decided to TRY to start a new project, so I repeated the File |
New menu but for some reason HCW.exe wouldn't allow me to create a new
project. After repeating the aforementioned process the filename plus the
..hpj extension...
|
by: Kannan |
last post by:
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...
|
by: Paul Tremblay |
last post by:
Hi,
I can't seem to locate the visual C++ (pre .NET) ng. This may be slight
off topic here - please point me to the correct ng if it is.
Without going into much detail (and repeating myself several times), I
am using Visual C++ 6.0 to develop applications - *instead* of .Net. I
am using the MFC to create my GUI components.
I am particularly interested in doing the ff with my GUI:
|
by: |
last post by:
Hi all, I have vs.net 2003 locally installed on my XP PRO machine. I have a
web server on the LAN which has a website configured at http://services.
This is accessible via my web browser and already has a web service (built
using sdk and notepad) at http://services/services/services.asmx. Now I am
trying to create a new web service "services2.asmx" in vs.net. I click on
File-->New-->Project. Then select Asp.net Web Service under VB...
|
by: dd |
last post by:
Has anyone found a way around the problem IE has if you create elements
(script or div, doesn't seem to matter) BEFORE the document.readyState
is "complete" ?
I know you can sometimes get away with only waiting for "interactive"
state, but I've found that on some pages, that can result in a weird
error with a dialog box along the lines of "Internet operation aborted
error" (or something like that, I haven't seen it for a long time since...
| |
by: Richard Maher |
last post by:
Hi,
I am in a mouseup event for button A and I'd like to disable=false button B
before starting some work. Is there anyway that an event for button B can
then fire before my event processing for button A's mouseup has completed?
I beleive event processing to be single-threaded for good reason but I need
a "stop" button and it's no good if it doesn't do anything until the other
processing has finished :-)
|
by: dhanashivam |
last post by:
Hi All,
I have developed a VC+ dll file which provides a product key for my msi setup file. This VC++ dll work fine together with my setup file. but,
my problem is, i have given a message box inside the dll for showing error message while an invalid key is entered. but the messagebox is not shown as modal dialog. i must want to show this as modal dialog.
in my VC++ method i have passed the MSIHANDLE from the msi file.
how can i...
|
by: Sin Jeong-hun |
last post by:
Most applications, including Windows Explorer, show some sort of
'wait' dialog with animation when a lengthy operation is going on. For
example, When the Windows Explorer is searching for something, it
shows a small dialog with a moving flashlight. I examined the
explorer.exe and found that that was an avi file.
Now that, I would like to do similar thing in my C# application. But
what is the most efficient way to do so?
1)Manually...
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |