473,698 Members | 2,932 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Animated gif/jpg


Is it possible to activate a animated item once the form/page is submitted
for processing, as I have a number of forms that take a while and the users
keep submitting the page thereby restarting the process.
Any help would be appreciated.
Jan 7 '07 #1
5 1912
Your main goal should be to prevent users from submitting your forms more
than once. There is plenty of good sample code on different ways to do this.
Regarding showing an animated gif, once you set the src property of the
image control, the gif will be loaded and start playing. There are many other
ways to show a "working... " message while a long running process is
completing.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Tlink" wrote:
>
Is it possible to activate a animated item once the form/page is submitted
for processing, as I have a number of forms that take a while and the users
keep submitting the page thereby restarting the process.
Any help would be appreciated.
Jan 7 '07 #2
Thank you for the response, but can you give me an example please.
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:71******** *************** ***********@mic rosoft.com...
Your main goal should be to prevent users from submitting your forms more
than once. There is plenty of good sample code on different ways to do
this.
Regarding showing an animated gif, once you set the src property of the
image control, the gif will be loaded and start playing. There are many
other
ways to show a "working... " message while a long running process is
completing.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Tlink" wrote:
>>
Is it possible to activate a animated item once the form/page is
submitted
for processing, as I have a number of forms that take a while and the
users
keep submitting the page thereby restarting the process.
Any help would be appreciated.

Jan 7 '07 #3
re:
>There are many other ways to show a "working... " message while a long running process is
completing.
can you give me an example please.
In Chapter 3 of the free source code to "ASP.NET 1.1 Insider Solutions", there's 3 examples :

http://www.daveandal.net/books/6744/samples.aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tlink" <co**@melbourne hosting.comwrot e in message news:%2******** *******@TK2MSFT NGP04.phx.gbl.. .
Thank you for the response, but can you give me an example please.
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in message
news:71******** *************** ***********@mic rosoft.com...
>Your main goal should be to prevent users from submitting your forms more
than once. There is plenty of good sample code on different ways to do this.
Regarding showing an animated gif, once you set the src property of the
image control, the gif will be loaded and start playing. There are many other
ways to show a "working... " message while a long running process is
completing.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Tlink" wrote:
>>>
Is it possible to activate a animated item once the form/page is submitted
for processing, as I have a number of forms that take a while and the users
keep submitting the page thereby restarting the process.
Any help would be appreciated.


Jan 7 '07 #4
Hey Peter,

Actually I think it's surprisingly difficult to get images to work correctly
in these scenarios because IE has issues starting up animated gif's from
invisible or hidden content. If I remember right the only thing I got to
work consistently was to use a frame container with the message display
loaded into that.

http://west-wind.com/weblog/posts/1227.aspx

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com/weblog

"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .comwrote in
message news:71******** *************** ***********@mic rosoft.com...
Your main goal should be to prevent users from submitting your forms more
than once. There is plenty of good sample code on different ways to do
this.
Regarding showing an animated gif, once you set the src property of the
image control, the gif will be loaded and start playing. There are many
other
ways to show a "working... " message while a long running process is
completing.
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Tlink" wrote:
>>
Is it possible to activate a animated item once the form/page is
submitted
for processing, as I have a number of forms that take a while and the
users
keep submitting the page thereby restarting the process.
Any help would be appreciated.
Jan 7 '07 #5
in general the browser will not an animation tread (or download a new
image) while a postback is processing. caching the imag, starting the
animation, then delaying the postback (use setTimeout to do the submit)
sometimes works.

-- bruce (sqlwork.com)

Tlink wrote:
Is it possible to activate a animated item once the form/page is submitted
for processing, as I have a number of forms that take a while and the users
keep submitting the page thereby restarting the process.
Any help would be appreciated.

Jan 7 '07 #6

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

Similar topics

3
8715
by: DOK | last post by:
I'm trying to create an eBay ad. So far, I've got the page the way I want it. However, the few animated gif's I have on the page display but are no longer animated. I can get it to work in FrontPage and 'Preview in Browser'. However, When I enter the URL or when I 'select all' html and paste it into the 'add your own html' box in ebay, the gif's don't animate. If anyone would take the time to scan my 'index.htm' and let me know what...
9
9705
by: John J. Hughes II | last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it. I did find ImageAnimator but it only seems to deal with showing the GIF and not saving it. Thanks, John
2
2263
by: Koen Hoorelbeke | last post by:
Hi there, I'm trying to read an animated gif from a url (for a banner-rotator). The code I have now, does read the gif (or jpg), but the result is that I only get the first frame of the animated gif, AND at a much lower quality :-( Important to note is that the image is read from a url (from a different server), and thus NOT from the local disk. Below is the code I use:
10
23543
by: Liz | last post by:
All: Can anyone tell me why my animated GIF does not show up as animated when put into a pictureBox?? Thanks. Liz
4
20612
by: Al_C | last post by:
It's not that I expected it to work, but can anyone explane why if I put an animated gif as the background image of a form it is no longer animated? Is there any way to actually do that? Thanks, Al
7
6326
by: Gary Kaucher | last post by:
At the top of the page on my website http://www.itemlook.com I have an animated gif called "eyeline.gif". It has worked fine in the past, but recently I am unable to get it to work using IE6. All that I get is a box with nothing in it. It almost seems as if the file will not open on my page, let alone animate. It still works fine with my Netscape browser. I am using Windows 98. Any ideas would be appreciated. Thanks,
4
6354
by: Jeff | last post by:
Hi, I'd like to write Javascript that stops animated gifs from animating. On Firefox, at least, window.stop(); does the trick, although it stops everything on the page and is kind of unpredictable. If I connect it to the onload event, sometimes only half the page will be displayed. Does the onload even fire before rendering? Does anyone know a reasonable way to accomplish my original goal of
7
14531
by: Lemune | last post by:
Hi.. I am developing an application that connect to database on the other side of the net. And each time i want to connect to database and run some sql command, i want my user to know that there is some process is runing. My idea is to show animated gif until the process is done. My question is how i could achieved that? Any one could give me a clue or hint or even sample code? Thank you? This is my snippet code:
27
14026
by: Phil | last post by:
I thought it would be nice to display some animated GIFs on some of my forms. I put a PictureBox control on a form, and loaded my GIF file in. It animates, but not properly. It seems very jerky and dwells on some frames longer than it should. Searching for this problem, I have found several people who have stated that animated GIFs don't work in a PictureBox at all, and you have to use the ImageAnimator. I assume they must be referring to...
0
1563
by: helraizer1 | last post by:
Hey, I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could copy the animated gifs via Perl onto the static image that I made with php? I've tried with php imagecreatefromgif(), which produces a static image. I also tried using the GIFAnimation class from phpclasses to make an animated gif but it returns it as...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
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
9170
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
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...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7741
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...
0
4372
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...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
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.