Display "Wait" message while the server is processing

Hi Experts,

What should I do to display a "Wait" message like "Processing!! Please wait..." when the the server is processing the information. I am using asp.net and vb.net.

Thanks.
RadhaKrishnaKiJayaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

frankhelkCommented:
Create a non-modal form (which means it wouldn't stop anything begging for input) with that text and no buttons (if possible to gather progress data, include a progress bar, or at last some animated icon to tease the user ...).

Prior to starting the processing task, call TheTeaserForm.Show(), if possible while processing, feed the progress bar with values. When finished, call TheTeaserForm.Close().

There's a property in the form to control the "modal" state.
0
RadhaKrishnaKiJayaAuthor Commented:
Thank you for your reply. How do I create a non-modal form ? Sorry I am new to web programming.
0
RadhaKrishnaKiJayaAuthor Commented:
I've requested that this question be deleted for the following reason:

Could not find any satisfactory answer.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

frankhelkCommented:
Sorry - been out for a while.

Will give further details.
0
frankhelkCommented:
You know how to create a form and how to display it ? If not, here's some tutorial from Microsoft.

On your form, at least just place some descriptive text like "Please wait ... chewing on your data !". If you could derive some descriptive value about the completion state, i.e. a percentage, you might include some progress bar control, otherwise a moving icon would help to tease the user.

(I was in error about the property "modal" of the window ... forget that)

Prior to processing the data, presuming the class of your wait window is FormWait, use
Dim f As New FormWait()
f.Show()

Open in new window


Components on the form could be accessed as properties of the form object, i.e. if you have some progress bar component on your form named progress, you could use
f.progress.value = <some value>
f.Refresh()

Open in new window

to display your progress.

When your code is done with processing, just call
f.Close()

Open in new window

to get rid of the teaser window.

Just a last word on "modal": A modal window (opened with f.ShowDialog()) will cause the calling code to wait for completion. A non-modal window (opened with f.Show()) will cause the calling code to continue while it is open.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RadhaKrishnaKiJayaAuthor Commented:
Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.