Solved

Asp Please wait

Posted on 2010-08-18
5
246 Views
Last Modified: 2012-06-27
hey Guys,

i want the code to do a please wait with an gif for asp:PostBackTrigger, for AsyncPostBackTrigger  it works fine
0
Comment
Question by:JCWEBHOST
  • 3
5 Comments
 
LVL 5

Expert Comment

by:muhammadyasir
ID: 33472401
0
 

Author Comment

by:JCWEBHOST
ID: 33472417
that works but if a put a validation the please wait still diplays. i want when click the valdator to pop up and the please wait no to show.
0
 

Author Comment

by:JCWEBHOST
ID: 33472471
it does work but, i have asp validators rigth, when i click it the please wait shows which is not what i want, plus the validators do not work the event click still activates?

Can any i help me?
0
 
LVL 5

Accepted Solution

by:
Akin Delu earned 250 total points
ID: 33472710
put this simple javascript after the closing html tag
<script type="text/javascript">
        function callMe()
        {
            if(Page_IsValid == true)
            {
                a = document.getElementById("divToShowID");
                a.style.display = "";
            }
        }
        Page_IsValid = false;
</script>

then set the OnClientClick="callMe();" of the button
0
 

Author Closing Comment

by:JCWEBHOST
ID: 33482657
It neva work
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question