473,748 Members | 2,685 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1887
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****@develop mentnow.com> wrote in message
news:b5******** *************** ***********@msn ews.microsoft.c om...
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****@develop mentnow.com> wrote in message
news:b5******** *************** ***********@msn ews.microsoft.c om...
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
2165
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 become visible....If they keep the dropdown box at "No" (default) then I want to submit the form "as is", keeping the inapplicable HTML fields hidden....I'm trying an "if statement" in ASP....Here's my code....I'm thinking that the if statement...
3
2092
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 Layer (DDML) usage would be greatly appreciated. Jim Hubbard
1
1679
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 but the text "Disposed!" does not appear on the MessageBox. I can get the text to display if I add aditional MessageBox switch options. Is there a reference or something I'm missing so I don't have to add these options everytime I use the...
4
8384
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 display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to...
2
1145
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
1566
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 seconds. I would like to be able to display the HTML (graphic) before running this sproc. As it is right now, the page just sits blank until the stored procedure is done. After the procedure runs it redirects it to another page.
14
23167
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, we're looking for a way to display the page with a "please wait..." message while the process is running, and then, when the process is done, update the page with the actual results/page content. We have a page that opens another browser/page...
4
1290
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
4117
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 published. "Allow precompiled site to be updateable" is NOT checked. "Enable strong naming on precompiled assemblies" is NOT checked. However, "Use fixed naming and single page assemblies" IS checked. I did with the idea that if I call a single page from...
0
8832
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
9381
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
9254
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...
0
8252
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, 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...
1
6799
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
6078
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();...
0
4608
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...
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
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.