Hello guys i have a problem regarding my RadButtonElement.
I have this RadButtonElement inside my GridViewCommandColumn.
here is my Code:
I was Expecting that this CommandcellClick event will fire the.
i needed it because i want to update the database that the particular row was deleted by the user.
Thanks IMO
I have this RadButtonElement inside my GridViewCommandColumn.
here is my Code:
Private
Sub
rgvSKUDetails_CommandCellClick(sender
As
System.
Object
, e
As
System.EventArgs)
Handles
rgvSKUDetails.CommandCellClick
If
TypeOf
rgvSKUDetails.CurrentRow
Is
Telerik.WinControls.UI.GridViewNewRowInfo
Then
Exit
Sub
End
If
rgvSKUDetails.Rows.RemoveAt(rgvSKUDetails.CurrentRow.Index)
End
Sub
I was Expecting that this CommandcellClick event will fire the.
Public
Sub
rgvSKUDetails_UserDeletingRow(sender
As
System.
Object
, e
As
Telerik.WinControls.UI.GridViewRowCancelEventArgs)
Handles
rgvSKUDetails.UserDeletingRow
Msgbox(
"Why Did you delete it?"
)
'This section here, im supposed to update the database that the
record has been deleted, but since this event is not firing is
there anyway that i could capture the event so i could update the database
that the user deleted the record?
'Perform Update to database
End
Sub
Thanks IMO