Asp:Button OnClick Event Not Reached

Discussion in '.NET' started by BonBon, Feb 24, 2009.

  1. BonBon

    BonBon

    Joined:
    Feb 24, 2009
    Messages:
    1
    Likes Received:
    0
    Hi,

    I'm having an issue I haven't been able to figure out how to fix yet.

    I have a .aspx page with a form with runat="server". I also have two databound dropdownlists and two buttons for redirecting to a different pages.

    My problem is, though, that when I have both dropdownlists bound, the buttons do not respond to clicking. I set a break at the OnClick events in my codebehind and the event is not even reached.

    But, when only one dropdownlist is bound, and I comment out the other, the buttons work just fine.

    Anyone have an idea as to what is wrong? Thanks in advance. :)
     
    BonBon, Feb 24, 2009
    #1
    1. Advertisements

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:
    1,152
    Purvi T
    Oct 19, 2004
  2. jorge
    Replies:
    2
    Views:
    1,654
    jorge
    May 26, 2004
  3. kw
    Replies:
    5
    Views:
    3,377
    S. Justin Gengo
    Jul 16, 2004
  4. rsaffy@nuvox.com
    Replies:
    7
    Views:
    13,908
    rsaffy@nuvox.com
    Jul 20, 2006
  5. mbs57

    ASP.NET button control OnClick event doesn't fire

    mbs57, Jun 18, 2009, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    1,889
  6. Dipin
    Replies:
    4
    Views:
    266
  7. Vinita Sharma

    OnClick event of a button not called ....

    Vinita Sharma, Dec 29, 2004, in forum: Javascript
    Replies:
    2
    Views:
    243
    Fred Oz
    Dec 30, 2004
  8. foldface@yahoo.co.uk

    button.onclick = new Function("func2()") + button.onclick

    foldface@yahoo.co.uk, Sep 25, 2005, in forum: Javascript
    Replies:
    2
    Views:
    481
    foldface@yahoo.co.uk
    Sep 26, 2005
Loading...