• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Processing... Please wait child window

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am writing an upload application.
My requirement is:
I need to show a modal child window when i submit a file for upload saying "Processing... Please wait". The request should get submitted after this window is shown and when the request completes and response comes back this window should get closed while loading the main page.
So the window should remain visible while the request is being processed and closed when the request completes.

Is is possible to do this? if Yes... How?

1) I was tring to do window.ShowModalDialog and the control will not pass till i close this dialog...
2) then i was trying window.open(jspPage)... but i was not able to close this small window when i am coming back in OnLoad.

Anyhelp is appreciated...
Thanks,
Karan
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Reveal a hidden positioned div just prior to submitting.
 
Karan Jain
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear,
Thanks for the reply...

I am using hidden div but and i wanted to show an animated image to do so.
So what i did is loaded 4 images and call method to animate them with 500 ms delay.



The images are getting loaded and working fine on my local host. But when i deploy the same on my test server the image does not show up.

I used IEWatch to see the problem and found that the get is aborted when trying to fetch the image.

I am not sure why its having this problem. When the page is loading its able to load all the images in array, but when it tries to animate it is having problem.

Any help is appreciated.

Thanks and regards,
Karan

[ September 18, 2007: Message edited by: Karan Jain ]
[ September 18, 2007: Message edited by: Karan Jain ]
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Once you submit the page, all processing stops, so you can't do anything active like animations or even show animated gifs. If you want the page to remain alive during the processing, you'll need to submit it in the background with something like AJax, or to an iframe.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic