Click Events in programmatically created GridView Template

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top