Solved

Asp Please wait

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

828 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