<asp:EditCommandColumn/> in using datagrid doesn't fired an event for OnEditCommand

  • Thread starter Thread starter angus
  • Start date Start date
A

angus

Dear All,

I am using VB.net

It is found that the <asp:EditCommandColumn/> wouldn't fired an event for
OnEditCommand

If pushbutton has been used:

that is:

<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>

won't fired a OnEditCommand,

where if LinkButton has been used, all things are normal

<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>

Does anyone get the same problem?

Thank you.


Regards,
Angus
 
Back
Top