Please see image attached. How do I get rid of the background button?
Private Sub grvVehicleList_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles grvVehicleList.CellFormatting If TypeOf e.CellElement Is GridCommandCellElement Then If e.Column.Name = "Delete" Then Dim button1 As RadButtonElement = TryCast(e.CellElement.Children(0), RadButtonElement) AddHandler button1.Click, AddressOf DeleteButton_Click button1.Image = My.Resources.validated button1.Text = Nothing e.CellElement.DrawText = False End If If e.Column.Name = "Validated" Then Dim buttonElement As RadButtonElement = DirectCast(e.CellElement.Children(0), RadButtonElement) buttonElement.UnbindProperty(RadButtonElement.ImageProperty) buttonElement.DisplayStyle = DisplayStyle.Image buttonElement.ImageAlignment = ContentAlignment.MiddleCenter If e.CellElement.RowInfo.Cells("Validated").Value = True Then buttonElement.Image = My.Resources.validated Else buttonElement.Image = My.Resources.Notvalidated End If End If End If End Sub