Button Event Not triggered

Discussion in 'ASP .Net Datagrid Control' started by Richard, Aug 19, 2003.

  1. Richard

    Richard Guest

    I have created a Button Column in a Datagrid.
    I am trying to use the OnItemCommand Event it triggers when a user clicks
    that button.

    If I set the button Type to be a LinkButton the event is triggered, however
    if I set the button Type to be a PushButton it is NOT.

    ....The OnItemCommand is set in the asp:DataGrid element on the HTML page and
    the event with the same name is in the code behind page.....Any ideas?
    Cheers.
    Richard, Aug 19, 2003
    #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. Steve Pan
    Replies:
    1
    Views:
    400
    Fred W
    Nov 6, 2003
  2. John Sturgeon

    DataGrid SortCommand event not triggered

    John Sturgeon, Nov 26, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    563
    John Sturgeon
    Dec 2, 2003
  3. click event not triggered

    , Feb 28, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    321
  4. Replies:
    4
    Views:
    477
  5. Jeff

    Help, event not triggered

    Jeff, Jul 18, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,315
Loading...

Share This Page