UpdatePanel and ASP:Button - Button's Click event doesn't fire

Discussion in 'ASP .Net' started by MU, Jan 15, 2009.

  1. MU

    MU Guest

    I have an UpdatePanel on my web form and inside the ContentTemplate, I
    have a button that will process the data that the user has entered
    into the textboxes, etc.

    When the button is in the UpdatePanel's ContentTemplate, the Click
    event doesn't fire.

    When I take it out of the ContentTemplate and add it right after the
    UpdatePanel, the Click event works. Is there a way for me to have
    that button in the ContentTemplate or do I have to keep it outside to
    have my code executed?

    Thanks
     
    MU, Jan 15, 2009
    #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. Amy
    Replies:
    0
    Views:
    1,032
  2. Nathan Sokalski
    Replies:
    0
    Views:
    1,109
    Nathan Sokalski
    Jan 15, 2009
  3. Andy B.
    Replies:
    0
    Views:
    923
    Andy B.
    Nov 25, 2009
  4. NIIT
    Replies:
    0
    Views:
    203
  5. Eric
    Replies:
    13
    Views:
    285
    Dr J R Stockton
    Nov 19, 2006
Loading...

Share This Page