codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  How to freeze the web page when displaying progress bar?  ipsoftware at 13:57 on Tuesday, January 11, 2005
 

Say I have many control buttons in the ASP.NET developped web page, each upon being clicked will do some operatoin which may take some time, when the button is clicked, a progress bar(in my case, I used an animated gif) will be shown while keeping the web page being freezed (by word "freeze", I mean the web page will be made inactive when the progress bar is being displayed in the center of the window, the user can still see the web page, however, he cannot click on any controls in the web page, the web page will be active again until the operation completes and the progress bar disappear.)

Can anybody suggest how I may do the web page freezing?

thanks a lot!!!

  Re: How to freeze the web page when displaying progress bar?  tgreer at 17:08 on Tuesday, January 11, 2005
 

Nope. The controls are rendered to the browser, and the user can interact with them.

What you can do is put all of your controls within a div. Put your "please wait" stuff in a second div.

When the form is submitted, toggle the form div's CSS visibility to "hidden", and the please wait div to "visible".

Do this with JavaScript, of course, either by coding the forms "onsubmit" handler, or by adding an "onclick" attribute to the particular button.










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: Questions about web user control in ASP.NET
•  Re: XML- Passing parameters are Latitude and Longitude.
•  Layer filter called by Javascript
•  Re: replication
•  Re: Format Date time issue....
•  Re: How to freeze the web page when displaying progress bar?
•  Re: Help! IFrames!
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: HOW CREATE LINE CHARTS IN ASP.NET


Recent Articles
Communicating with the Database (Using ADO)
MagicGrid
Simple Thumbnail Browsing Solution
Type Anywhere
A Better Moustrap: FmtDate to replace FormatDateTime
ASP.NET Forum Source Code
Internal Search Engine
Javascript Growing Window
Simple date validation
Search engine friendly URLs using ASP.NET (C#.NET)


Site Survey
Help us serve you better. Take a five minute survey. Click here!

© Copyright codetoad.com 2001-2005