help me about button.

Discussion in 'ASP .Net Building Controls' started by serior, Sep 3, 2003.

  1. serior

    serior Guest

    hi everyone:
    i have posted this thread before. But i consider it will
    be right to put it here. My question is that i want to
    simulate click a button with c# code instead of make the
    user to click it on Page. any ideas or c# code samples
    available?
    thanks for any help....
    serior, Sep 3, 2003
    #1
    1. Advertising

  2. Hi

    You have to click it from the client...
    document.forms[0].BUTTONNAME.click();

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Scripting MVP
    http://www.microsoft.com/technet/scriptcenter
    ==============================
    "serior" <> wrote in message
    news:08a901c37202$9a93bba0$...
    > hi everyone:
    > i have posted this thread before. But i consider it will
    > be right to put it here. My question is that i want to
    > simulate click a button with c# code instead of make the
    > user to click it on Page. any ideas or c# code samples
    > available?
    > thanks for any help....
    Vidar Petursson, Sep 3, 2003
    #2
    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. Purvi T
    Replies:
    0
    Views:
    800
    Purvi T
    Oct 19, 2004
  2. Wes Weems
    Replies:
    1
    Views:
    464
    Natty Gur
    Jul 20, 2003
  3. Chris Lane
    Replies:
    4
    Views:
    11,179
    Chris Lane
    Nov 17, 2003
  4. jorge
    Replies:
    2
    Views:
    1,239
    jorge
    May 26, 2004
  5. Russell
    Replies:
    3
    Views:
    6,885
    Lau Lei Cheong
    Jun 24, 2004
Loading...

Share This Page