Client side script after client side validation with asp.net 2.0

Discussion in '.NET' started by Boss302, Nov 21, 2006.

  1. Boss302

    Boss302

    Joined:
    Nov 21, 2006
    Messages:
    1
    Hi All,

    I have a page where i want to display a "please wait" panel to user after he submits the form.

    I did the same trick in 1.1 many times but it does not work with 2.0, it was something like this:
    on the page:
    <script language="javascript">
    function StartProcessing()
    {
    divProcessing.style.display = "block";
    divCheckout.style.display = "none";
    }
    </script>

    on

    btnConfirm.Attributes["onclick"] += "if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); if (Page_IsValid) { StartProcessing(); }";


    So the question is how can i implement same thing, but using WebForm_DoPostBackWithOptions?

    Thanks.

    H.
     
    Boss302, Nov 21, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    14
    Views:
    4,140
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  2. Magnus Blomberg
    Replies:
    3
    Views:
    728
    Magnus Blomberg
    Apr 14, 2005
  3. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    763
    Kevin Spencer
    Jun 2, 2005
  4. Bogdan
    Replies:
    2
    Views:
    667
    Bogdan
    Jun 9, 2008
  5. Sudip
    Replies:
    0
    Views:
    208
    Sudip
    Jul 1, 2005
Loading...

Share This Page