I have a problem with RadComboBox when I'm working on entering data everything is ok, but when I go to change the values I need to recover from a WCF service policy, first by creating the Model view I call the service that will populate the My RadComboBox
_service.BancoListarTodosCompleted + = new EventHandler <BancoListarTodosCompletedEventArgs> (_service_BancoListarTodosCompleted);
_service.BancoListarTodosAsync ();
then I call the service that will bring the agency's bank:
if (! IsInsert)
(
_service.AgenciaPorIdCompleted + = new EventHandler <AgenciaPorIdCompletedEventArgs> (_service_AgenciaPorIdCompleted);
_service.AgenciaPorIdAsync (id);
)
AgenciaPorId the return of service is:
if (e.Error! = null)
(
throw new Exception (e.Error.Message);
)
else
(
classTOviewmodel (e.Result);
)
classTOviewmodel method:
public override object classTOviewmodel (object parameter)
(
var = agency (the agency parameter);
this.Id = agencia.Id;
this.Nome = agencia.Nome;
this.Banco = agencia.Banco;
this.CEP = agencia.CEP;
this.city = agencia.Cidade;
this.id = agencia.Codigo;
this.Complemento = agencia.Complemento;
this.Digito = agencia.Digito;
this.Email = agencia.Email;
this.Endereco = agencia.Endereco;
this.Fax = agencia.Fax;
this.Nome = agencia.Nome;
this.Numero = agencia.Numero;
this.Telefone = agencia.Telefone;
return agency;
)
the problem I'm having is that the RadCombo is empty while everyone else responds to binding controls and present the results in this Annex the XAML and the XAML.cs ViewModel to be analyzed grateful if you can help me
Codes in http://djonatas.net/Agencia.rar
Thanks !