trigger rowcommand event from commandfrield Edit button
I have a query regarding GridView Control : I added 开发者_运维技巧a commandfield inside my Gridview and set ShowEditButton="True"
(By default it trigger RowEditing Event). Can i Trigger RowCommand Event
Instead of RowEditing Event
.
I know i can do it via other way but just got curious whether we can do this way
No you would need to use a control like ButtonField or LinkButton in order to trigger a custom command.
精彩评论