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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -