GetPostBackEventReference

Discussion in 'ASP .Net' started by Bort, Feb 19, 2004.

  1. Bort

    Bort Guest

    Hello,

    GetPostBackEventReference(control) returns something like this:

    __doPostBack('LinkButton1','')

    but as you can see this does not return the client side script of the
    button that causes the client side validation. Is there a method that
    returns the whole script as ASP generates it for the control looking
    like this:

    href="javascript:{if (typeof(Page_ClientValidate) != 'function' ||
    Page_ClientValidate()) __doPostBack('LinkButton1','')}
    Bort, Feb 19, 2004
    #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. Trevor Benedict R
    Replies:
    1
    Views:
    434
    =?Utf-8?B?RGF2ZQ==?=
    Jun 19, 2004
  2. Mr Newbie
    Replies:
    1
    Views:
    3,584
    Mr Newbie
    Nov 7, 2005
  3. =?Utf-8?B?TWFyaw==?=

    Handling OnClick and GetPostBackEventReference

    =?Utf-8?B?TWFyaw==?=, Mar 5, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    2,652
    =?Utf-8?B?TWFyaw==?=
    Mar 6, 2007
  4. Monty

    GetPostBackEventReference - dynamic argument

    Monty, Jan 15, 2007, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    342
    Monty
    Jan 16, 2007
Loading...

Share This Page