Is there a way to hide a control inside a radgrid in Edit Mode? I have tried the following code below, but the controls are still showing:
Private Sub RadGrid1_EditCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.EditCommand
If TypeOf e.Item Is GridDataItem Then
Dim btn_Row_Options As Button = e.Item.FindControl("btn_Row_Options")
btn_Row_Options.Visible = False
Dim btn_Row_Options As Button = DirectCast(e.Item.FindControl("btn_Row_Options"), Button)
btn_Row_Options.Visible = False
End If
End Sub