Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 10th, 2004, 11:40 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default Status Box

Hello All,

  I have a page that will do some data base processing that may take some time. I would like to display to the user what is actually going on. Like .. "Updating table xx ... " etc. I want to change the message each time a new process is started, since I have 3 Update processes that will happen. How can I dynamically show a message during the processing without a postback being used. Would java script do it, with a non-modal pop-up window?


Thanks,

Jim
 
Old May 10th, 2004, 12:27 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You can take a look at this and see if this will work:

http://daveandal.net/books/6744/load...edloading.aspx



 
Old May 10th, 2004, 01:11 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Thanks, This is interesting and works well if all of your processing takes place in JavaScript once a button is clicked, I need to change the display as needed in the code-behind.

 
Old May 10th, 2004, 02:38 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Does anyone have any other suggestions... Thanks

 
Old May 10th, 2004, 02:57 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

The DaveAndAl example may be using JavaScript for the screen updates, but it is still accessing data from the server. So even if there is no postback, the Orders data is really retrieved from the server. Take a look at the source to see how it's done.

That said, search Google for "progressbar ASP.NET". You'll find plenty of controls and examples, including this one:
http://donavon.com/ProgressBarDemo.aspx

Haven't tested it, but at least it looks nice. There are many many more, though.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Spieluhr by Rammstein (Track 7 from the album: Mutter) What's This?
 
Old May 10th, 2004, 03:15 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I coulnt' get that example working, but I will check out the other you passed along.. thanks


 
Old May 10th, 2004, 03:21 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

After I posted my message, I found out the example I posted uses just JavaScript, so it may not be really suitable.

I found another one: http://www.myblogroll.com/Articles/p...sbar/index.htm

I am not sure whether I like its implementation (separate files in an iframe etc), but the demo looks cool.....
But, like I said, there are many more. Try adding IsPostBack or PostBack to your Google query to find controls that work on PostBack....

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Sugar by System Of A Down (Track 3 from the album: System Of A Down) What's This?
 
Old May 10th, 2004, 03:32 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Ok, I will search again .. thanks ... :)







Similar Threads
Thread Thread Starter Forum Replies Last Post
WebPage status cdaye99 VBScript 2 August 7th, 2008 08:57 AM
How to show the Active Status Box? karwaabhi ASP.NET 2.0 Professional 0 February 7th, 2007 06:59 AM
Status Bar ironchef Java GUI 0 October 26th, 2006 09:19 PM
http status code lian_a Classic ASP XML 0 May 3rd, 2004 10:28 PM
Status Bar soccers_guy10 Pro VB.NET 2002/2003 3 August 12th, 2003 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.