Advertisement

04.20.2004 at 07:48AM PDT, ID: 20960556
[x]
Attachment Details

Capturing template button events in a datagrid???

Asked by soweyoung in .NET

Tags: datagrid, template, button, event

Hi all.
I created a web form with a datagrid and I added templates to the grid with custom image buttons for row edit, delete, update, and cancel actions.
But I have not been able to capture any events for those image buttons.
If I don't use the template buttons and just use grid default edit, update, cancel button column instead, then everything works fine with DataGrid_EditCommnad, DataGrid_UpdateCommand, and DataGrid_CancelCommand events handle procedures.
Is anyone able to explain how to capture events from those template image buttons.
Thanks.
Start Free Trial
[+][-]04.20.2004 at 08:05AM PDT, ID: 10869541

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2004 at 08:44AM PDT, ID: 10869890

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET
Tags: datagrid, template, button, event
Sign Up Now!
Solution Provided By: ihenry
Participating Experts: 2
Solution Grade: B
 
 
[+][-]04.20.2004 at 08:54AM PDT, ID: 10869982

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32