c# - Interactions with MVVM wpf -


i working componentone wpf controls mvvm pattern.

i have following in viewmodel:

public icommand clientsenter {         {         if (this.m_clientsenter == null)         {             this.m_clientsenter = new delegatecommand<string>(clientslostfocusexecute,  clientslostfocuscanexecute);         }         return m_clientsenter;     } } 

and observable collection:

public observablecollection<client> clients {     { return m_clients; }     set     {         m_clients = value;         raisepropertychanged("clients");     } } 

in xaml have added componentone combo box can enter clientname or id , press enter fire event execute clientsenter command:

<custom1:c1combobox  grid.row="2" grid.column="1" height="24" name="cmbclients"      horizontalalignment="left" verticalalignment="center" itemssource="{binding      clients, mode=oneway}" selectedvaluepath="clientid" displaymemberpath="namee"      iseditable="true" text="enter client name or id" selectedvalue="{binding      path=filter.clientid, mode=twoway}" minwidth="150" margin="0,2" width="189">     <i:interaction.triggers>         <ei:keytrigger key="enter"  firedon="keyup" activeonfocus="true" sourcename=             "cmbclients">             <i:invokecommandaction command="{binding clientsenter, mode=oneway}"                  commandparameter="{binding text,elementname=cmbclients}"                  commandname="keydown"/>         </ei:keytrigger>     </i:interaction.triggers> </custom1:c1combobox> 

i need know why doesn't work, after pressing enter clientid disappears , nothing happens. text="enter client name or id" doesn't appear! ideas? note when change key space works doesnt take text combobox,

after spending 2 days investigating issue ,i discover there bug in c1combobox replaced telerik comboxbox , add same trigger without changing in xaml except control , works fine.

finally,i dont recommend c1 wpf controls