This is a migrated thread and some comments may be shown as answers.

WCF + RadControl + Binding

1 Answer 54 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
djonatas tenfen
Top achievements
Rank 1
djonatas tenfen asked on 24 Aug 2010, 03:21 AM

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 !

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 26 Aug 2010, 03:47 PM
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,
Konstantina
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
Tags
ComboBox
Asked by
djonatas tenfen
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or