Click Events in programmatically created GridView Template

Discussion in 'ASP .Net' started by =?Utf-8?B?anRlbmNhdGU=?=, Jul 28, 2006.

  1. I am creating a gridview programmatically and am using a Template for one
    column. The template is derived from a custom class that inherits ITemplate.
    There are two buttons in the template

    The problem that I am encountering is that the button click events for the
    two buttons are not captured by the RowCommand of the GridView. I have been
    unable to determine a way of capturing the click events for these templated
    buttons.

    Anyone run into this and know of a way to get the events out to the parent
    control?

    TIA,

    John
    =?Utf-8?B?anRlbmNhdGU=?=, Jul 28, 2006
    #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. Rob Meade
    Replies:
    9
    Views:
    581
    Rob Meade
    Aug 10, 2004
  2. Jonas

    Programmatically created web user control events

    Jonas, Aug 27, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    202
    Lucas Tam
    Aug 27, 2003
  3. Replies:
    1
    Views:
    339
    Teemu Keiski
    Apr 17, 2006
  4. Jonas

    Programmatically created web user control events

    Jonas, Aug 27, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    156
    Lucas Tam
    Aug 27, 2003
  5. Anna Schmidt

    Add events to a programmatically created DG

    Anna Schmidt, Feb 28, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    129
    Marshal Antony
    Mar 29, 2004
Loading...

Share This Page