AddHandler

Discussion in 'ASP .Net' started by Micke Palm, May 12, 2004.

  1. Micke Palm

    Micke Palm Guest

    Hello!

    Do anyone have good experince of AddHandler?

    I create a LinkButton in a function and the function will be called from
    page_load. I need to have the call inside ispostback if. The AddHandler will
    be created in the same function as LinkButton.

    When the call is in ispostback i doesn't work. If I lift it out it will
    works fine.

    I've heard about that AddHandler needs to be recreated , but how can a
    regular Linkbutton work if I put it static on the page??

    /regards, micke
     
    Micke Palm, May 12, 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. Jeffrey A. Voigt

    Help w/AddHandler (Not Firing Off)

    Jeffrey A. Voigt, Aug 10, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    673
    Natty Gur
    Aug 11, 2003
  2. Natty Gur

    Re: Help w/AddHandler (Not Firing Off)

    Natty Gur, Aug 11, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    449
    Jeff Voigt
    Aug 11, 2003
  3. Kay

    Event AddHandler

    Kay, Feb 3, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    2,201
  4. Craig Buchanan

    AddHandler question

    Craig Buchanan, Feb 12, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    407
    Kevin Spencer
    Feb 12, 2004
  5. Tee
    Replies:
    1
    Views:
    3,329
    Martin Dechev
    Feb 18, 2004
Loading...

Share This Page