473,396 Members | 2,108 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,396 software developers and data experts.

Display Message while code runs.

I have written a Login page which initializes a session. I am trying to display a message to the user letting them know that the session is intializing. I would ideally like to load a page that displays while the query is running. Any ideas on how to accomplish this? I have tried to add webforms and user their page load events to launch my code but that does not work.

From http://www.developmentnow.com/g/8_20...work-aspnet.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
Nov 19 '05 #1
3 1871
The browser display to the user would not appear until all of the queries
have finished.

You may, however, depending on the nature of your query, divide the query to
several shorter steps, each executing simultaneously using asynchronous
programming
http://msdn.microsoft.com/library/de...ngoverview.asp
--
http://www.webswapp.com
http://www.societopia.net
"David Allison" wrote:
I have written a Login page which initializes a session. I am trying to display a message to the user letting them know that the session is intializing. I would ideally like to load a page that displays while the query is running. Any ideas on how to accomplish this? I have tried to add webforms and user their page load events to launch my code but that does not work.

From http://www.developmentnow.com/g/8_20...ork-aspnet.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com

Nov 19 '05 #2
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
"David Allison" <no****@developmentnow.com> wrote in message
news:b5**********************************@msnews.m icrosoft.com...
I have written a Login page which initializes a session. I am trying to
display a message to the user letting them know that the session is
intializing. I would ideally like to load a page that displays while the
query is running. Any ideas on how to accomplish this? I have tried to add
webforms and user their page load events to launch my code but that does
not work.

From
http://www.developmentnow.com/g/8_20...ork-aspnet.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com

Nov 19 '05 #3
Dave Sussman and Alex Homer have sample code for you,
originally published in their ASP.NET 1.1 Insider Solutions book:

See the Chapter 3 samples online at :
http://www.daveandal.net/books/6744/samples.aspx

The complete code samples are at :

http://www.daveandal.net/books/6744/6744code.zip

Extract the chapter 3 samples and adapt them to your needs.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"David Allison" <no****@developmentnow.com> wrote in message
news:b5**********************************@msnews.m icrosoft.com...
I have written a Login page which initializes a session. I am trying to display a message
to the user letting them know that the session is intializing. I would ideally like to
load a page that displays while the query is running. Any ideas on how to accomplish
this? I have tried to add webforms and user their page load events to launch my code but
that does not work.

From http://www.developmentnow.com/g/8_20...ork-aspnet.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com

Nov 19 '05 #4

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

Similar topics

4
by: dmiller23462 | last post by:
I'm trying to create a submission page for users to request PC/LAN Access....If they select "Yes" in the field asking about if they need Non Standard Software, I want several other HTML fields to...
3
by: Jim Hubbard | last post by:
My own searches have proven to be of little help in understanding the implementation of this technology (available since Win98). Any information that you could share on Display Driver Management...
1
by: Kevin R | last post by:
I'm running the HelloWorldForm example from Microsoft to learn how to use ..net. I'm using Microsoft Visual Studio .NET 2003, 1.1 framework. I run the HelloWorldForm example. The example runs...
4
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to...
2
by: David T. | last post by:
When a library user runs their exe I want the dll to display a message. How can this be done? Thanks in advance.
3
by: glbdev | last post by:
Hi. I have a web page which is running a stored procedure. This page has a graphic on it so the user knows something is running and the page is not frozen. This query runs for approx 40...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
4
by: =?Utf-8?B?QmVu?= | last post by:
Hi all, I am trying to write a test console app in vb2008 express. Below is the code: Module Module1 Sub Main() Dim frm As New Form1 MsgBox("a test message") 'frm.Visible = True
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
0
BarryA
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...
0
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...
0
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...
0
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,...
0
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...
0
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...
0
agi2029
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,...

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.