Here are 2 sample codes ........
Sample 1 ...
< custom:CDataGrid x:Name="dgWhseContainer"
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
SelectionMode="Single"
AutoGenerateColumns="False" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Visible"
ItemsSource="{Binding Path=ContainerInfo}"
csla:InvokeMethod.TriggerEvent="SelectionChanged" csla:InvokeMethod.MethodName="KeepInfoForSelectedRow"
csla:InvokeMethod.MethodParameter="{Binding RelativeSource={RelativeSource Self}, Path=SelectedItem}"> Sample 2 .....
< custom:CDataGrid x:Name="dgWhseContainer"
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
SelectionMode="Single"
AutoGenerateColumns="False" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Visible"
ItemsSource="{Binding Path=ContainerInfo}"
csla:InvokeMethod.TriggerEvent="SelectRowClicked" csla:InvokeMethod.MethodName="KeepInfoForSelectedRow"
csla:InvokeMethod.MethodParameter="{Binding RelativeSource={RelativeSource Self}, Path=SelectedItem}"> Sample 1 ...has TriggerEvent = "SelectionChanged" Sample 2 has TriggerEvent = "SelectRowClicked" Sample 1 works but Sample2 gives error ... Please Help Ambresh
What is the error?
Error is.........AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 163 Position: 59]
on same live of TriggerEvent .........looks like it doesnt accept ...."SelectRowClicked" event
Copyright (c) Marimer LLC