Asp:Button OnClick Event Not Reached

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

  1. BonBon

    BonBon

    Joined:
    Feb 24, 2009
    Messages:
    1
    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. 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. kw
    Replies:
    5
    Views:
    3,204
    S. Justin Gengo
    Jul 16, 2004
  2. rsaffy@nuvox.com
    Replies:
    7
    Views:
    12,448
    rsaffy@nuvox.com
    Jul 20, 2006
  3. Dipin
    Replies:
    4
    Views:
    135
  4. Vinita Sharma

    OnClick event of a button not called ....

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

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

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

Share This Page