Hi
I've added a button to my RadGridView via the below:
Dim col As New MyDeleteButtonColumn()
RadGridView1.Columns.Add(col)
Public Class MyDeleteButtonColumn
Inherits Telerik.Windows.Controls.GridViewColumn
Public Overrides Function CreateCellElement(cell As GridViewCell, dataItem As Object) As FrameworkElement
Dim btn As New RadButton()
btn.Content = "MD"
btn.[AddHandler](Button.ClickEvent, New RoutedEventHandler(AddressOf btn_Click))
Return btn
End Function
Private Sub btn_Click(sender As Object, e As RoutedEventArgs)
Dim win2 As New form2("gvcell0value:)")
win2.Show()
End Sub
Within the but_Click I need to get the value of from cell 0 to pass throught to a new form opening
How could I achive this?
Many thanks