Solved

Asp Please wait

Posted on 2010-08-18
5
245 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now