This question is locked. New answers and comments are not allowed.
Hi,
With this column here which is working all right, I have the button and the event is fired.
I'm trying to get the row from which the buttin is in and the parent of the button is null. Any idea ?
<telerikGridView:RadGridView.Columns>
<telerikGridView:GridViewDataColumn>
<telerikGridView:GridViewColumn.CellTemplate>
<DataTemplate>
<Button Content="Effacer" Click="DeleteTime_Click">
</Button>
</DataTemplate>
</telerikGridView:GridViewColumn.CellTemplate>
</telerikGridView:GridViewDataColumn>
</telerikGridView:RadGridView.Columns>
Trying to get the row with this line :
I have the latest build, 2009.3.1127
With this column here which is working all right, I have the button and the event is fired.
I'm trying to get the row from which the buttin is in and the parent of the button is null. Any idea ?
<telerikGridView:RadGridView.Columns>
<telerikGridView:GridViewDataColumn>
<telerikGridView:GridViewColumn.CellTemplate>
<DataTemplate>
<Button Content="Effacer" Click="DeleteTime_Click">
</Button>
</DataTemplate>
</telerikGridView:GridViewColumn.CellTemplate>
</telerikGridView:GridViewDataColumn>
</telerikGridView:RadGridView.Columns>
Trying to get the row with this line :
GridViewRow Row = ((Button)sender).Parent as GridViewRow;
I have the latest build, 2009.3.1127
