Button Event Not triggered

R

Richard

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.
 

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

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top