Exception "no target found for method" on click of row grid view
See original GitHub issueHi All,
My WPF application got an exception “no target found for method EditRow”
My code:
<DataTemplate x:Key="a">
<Grid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Margin="0 0 2 0" Visibility="Hidden" x:Name ="editTemplate" caliburn:Bind.Model="{Binding RelativeSource={ RelativeSource FindAncestor, AncestorType=telerik:RadGridView}, Path=DataContext, Mode=TwoWay}" caliburn:Message.Attach="[Event Click] = [Action EditRow($executionContext)];" caliburn:Action.TargetWithoutContext="{Binding DataContext, ElementName=editTemplate}" >
<Image Source="~\Edit.png" />
</Button>
</StackPanel>
</Grid>
</DataTemplate>
I tried to fix as https://github.com/Caliburn-Micro/Caliburn.Micro/issues/242 But it does not work.
Regards,
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Thanks for your help. Let me prepare a sample of problem.
Closing out as not extra information received.