Solved

Asp Please wait

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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…
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

18 Experts available now in Live!

Get 1:1 Help Now