Display Please wait.. message on button click

Posted by NamrataC under JavaScript on 9/3/2009 | Views : 8542 | Status : [Member] | Replies : 7
Hi All,
I'm novice to dotnet - javascript world. Please help me. I'm trying to display a "Please wait" message similar to one displayed on face book site. Is it possible to do this with javascript. Also if there is some other way then please let me know as soon as possible.




Responses

Posted by: Vuyiswamb on: 9/3/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Morning NamrataC

i dont use FaceBook , but what you want a Progress Bar on Click event ?

Why someone who uses FaceBook will Answer.

look at this http://aspalliance.com/38 it might be what you are looking for.

Thank you for posting at Dotnetfunda

Vuyiswa Maseko


Thank you for posting at Dotnetfunda
[Administrator]

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: NamrataC on: 9/3/2009 [Member] Starter

Up
0
Down
Good Morning Vuyiswamb,

Sorry if I meant like this to you. But I did not meant that someone using Face Book may answer but I meant the Progress bar on click event only as you explained.

Thanks for your valuable help. I had tried this code but I'm using a master page and multiple content pages. How will it work then in my case.

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/4/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day

You did not Offend me my Friend. i meant that i don't use Facebook , so i cant know what you are talking about. When you click the Button do want the whole page to be disabled ? or you only want to display the please wait message ?

The Code in that article you can use it on your content page if you are using master pages.

Thank you for Posting at Dotnetfunda

Were looking Forward for your reply

Vuyiswa Maseko


Thank you for posting at Dotnetfunda
[Administrator]

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: NamrataC on: 9/4/2009 [Member] Starter

Up
0
Down
Good Day,
Now we are friends. Yes, I want to disable whole page after button click. The link you gave me is not working in my case.
Can you please give me some other solution?

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/4/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day NamrataC

Then now the Solution to that is that create a Modal like Progress bar. Now here is Exactly what you want

http://www.dreamincode.net/forums/showtopic119029.htm


http://dotnetgurus.net/?tag=/ajax+modal+progress


http://vincexu.blogspot.com/2008/10/how-to-make-modalupdate-progress-bar-on.html


Thank you for posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: NamrataC on: 9/4/2009 [Member] Starter

Up
0
Down
Good Day,

Thanks for your help Vuyiswamb. I've used

<UpdateProgress>
<ProgressTemplate></ProgressTemplate>
</UpdateProgress>

for my purpose.
Still other ideas are always welcomed.

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/4/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
yes it will Help. I had to twik it so that it can be on the Centre and change the opacity so that the background looks disabled. The Articles i gave you have enough info to complete this task. if you have any challenges please shout, I am always available to help.

Again Thank you for posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

NamrataC, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response