473,383 Members | 1,798 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,383 software developers and data experts.

Login Progress Bar

I am using Commerce Server and during the login phase, it may take a
while. I have been requested that if someone is in the progress of
loggin in, to display an animated gif stating "Please Wait". I am not
allowed to use frames (I know why) and have been asked to avoid
JavaScript if at all possible.

Does anyone know how to check for an event, display a gif without
waiting for the current function that manages the login to return before
refreshing the page.

I was looking at some client side event?
A Plan without Action is a DayDream
Action without a Plan is a Nightmare

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #1
3 1404
I've seen various results to this as newer service packs/security fixes come
out.
http://www.aspfaq.com/2498

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Ernie" <no****@devdex.com> wrote in message
news:Op*************@TK2MSFTNGP09.phx.gbl...
I am using Commerce Server and during the login phase, it may take a
while. I have been requested that if someone is in the progress of
loggin in, to display an animated gif stating "Please Wait". I am not
allowed to use frames (I know why) and have been asked to avoid
JavaScript if at all possible.

Does anyone know how to check for an event, display a gif without
waiting for the current function that manages the login to return before
refreshing the page.

I was looking at some client side event?
A Plan without Action is a DayDream
Action without a Plan is a Nightmare

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 22 '05 #2
The approach worked for standard HTML and VB. We utilize C# and server
side controls. Do you have an example of a button being pressed inside
a form and that exact text being displayed?

The following will display the text "Please Wait..." Each form load --
How would you approach it if you only wanted it to display when you hit
the button?

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="PleaseWaitTestVB.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<%
Response.Buffer = True
%>


<form id="Form1" method="post" runat="server">
<script>
<!--
if (document.all)
{
document.write("<span id=w>Please");
document.write(" wait...</span>");
}
//-->
</script>
<%
Response.Flush()
%>
<asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 40px; POSITION:
absolute; TOP: 128px" runat="server"
Text="Button"></asp:Button>
<%
' put your long-running processes here.
' this should be enough to demonstrate:
Dim i as Integer
Dim x as Integer
for i = 1 to 1000000
x = x + 1
next
%>
<script>
<!--
if (document.all)
{
document.all("w").style.display = 'none';
}
//-->
</script>
</form>
</body>
</HTML>

A Plan without Action is a DayDream
Action without a Plan is a Nightmare

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #3
> The approach worked for standard HTML and VB. We utilize C#

Please see this group:

microsoft.public.dotnet.framework.aspnet
Jul 22 '05 #4

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

Similar topics

6
by: Ernie | last post by:
I have a unique issue... We are using Microsoft Commerce Server and Content Manager on our eCommerce Site. I have been requested to display a login status (Pic that says Please Wait) in a control...
1
by: beachboy | last post by:
how can pass the login (security info) to secondary application? ASP.NET 1.1 user login to application 1(app1.myapp.com) with their username and password, then they have a link to application 2...
10
by: Victor | last post by:
hi guys. In my project, now I am using a asp.net login control and a customized membership provider to do the form authentication. Now I want some function that user can skip the login form and be...
10
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show...
3
by: nazgul42 | last post by:
Ok... On my website, I have a login form that submits the information through POST to a php page, but my problem is that my php page is not getting the POST information. I know my form is sending...
0
by: DanWeaver | last post by:
Hi, Any pointers much appreciated- I just don't know how to progress from here. Using MS SQL server on a shared host (www.joglab.com shows the problem) I am having a problem with logins-...
2
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a website using windows integrated security, with anonymous access turned off. The site is used to query orders from a database and when the search takes a long time, a windows login box...
13
by: Apostle | last post by:
Hi all, after thinking for sometimes, I thought it will be great opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting...
17
by: RRosebury | last post by:
I'm in the process of making a website, I know the basics of PHP etc.. and have a page where a user has to sign up and activiate thier account via e-mail, when they clikc the link it change a field...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.