WCF + RadControl + Binding

2 posts, 0 answers
  1. djonatas tenfen
    djonatas tenfen avatar
    1 posts
    Member since:
    Dec 2009

    Posted 23 Aug 2010 Link to this post

    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);
                    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 !

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 26 Aug 2010 Link to this post

    Hi Djonatas,

    Thank you for contacting us and for the provided code.

    We have fixed a similar problem this week, which fix will be included in this week's internal build. Could you please download it tomorrow and try with it.

    If you still experience the issue please let us know.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top