No target found for method for custom control in silverlight

Topics: Actions & Coroutines
Jan 20, 2012 at 6:26 AM

Hi All,

I'm new to caliburn micro. I placed a user control in side a telerik radgrid when I attached a click event to my control, getting exception "No target found for method for CancelOrder". Please find the below code snippet.

<telerik:RadGridView x:Name="RadGridView1" Width="1350" ItemsSource="{Binding Orders,Mode=TwoWay}" 
                             AutoGenerateColumns="False" IsReadOnly="True" Height="230" >
                                <uc:QuickAction ca:Action.TargetWithoutContext="{Binding ElementName=LayoutRoot, Path=DataContext}" Title="Actions" ItemSize="25" VerticalAlignment="Top"  >
                                    <uc:QuickActionItemGroup >
                                        <uc:QuickActionItem ImagePath="{Binding CancelOrderImg}" ca:Message.Attach="[Event Click]=[Action CancelOrder]" >

Here QuickActionItem is an extended button. I tried all available work arounds, but not able to fix this.

If  I use this control out of RadGrid, working perfect.

any help would be highly appreciated.