silverlight - ComboBox's SelectionChanged inside datagrid not firing mvvm -


i using mvvmlight toolkit event interactions, have tried many solutions available none worked. combo box inside data grid's selection changed event not firing here xaml:

i used both invokecommandaction , eventtocommand:

eventtocommand command="{binding rlccbselectionchanged, mode=oneway}"                                                         passeventargstocommand="true"  invokecommandaction command="{binding rlccbselectionchanged, mode=oneway}" 

please tell me missing?? selection changed event fires on data grid same procedure given above.

well answer quite simple missing attribute optional why leave 1 causes selection change event not fire. add view model key static resource , worked :)

so working xaml :

<i:eventtrigger eventname="selectionchanged">                                      <i1:invokecommandaction command="{binding  path=rlccbselectionchanged, source={staticresource dvm}}"/>                                  </i:eventtrigger> 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -