Asp Please wait

hey Guys,

i want the code to do a please wait with an gif for asp:PostBackTrigger, for AsyncPostBackTrigger  it works fine
JCWEBHOSTAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Akin DeluConnect With a Mentor I’m a software engineer, tech enthusiast and UI/UX lover. Commented:
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
 
muhammadyasirCommented:
0
 
JCWEBHOSTAuthor Commented:
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
 
JCWEBHOSTAuthor Commented:
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
 
JCWEBHOSTAuthor Commented:
It neva work
0
All Courses

From novice to tech pro — start learning today.