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

combo box selecteditem doesn't seem to reflect data changes

3 Answers 40 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 08 Dec 2011, 03:11 PM

I hope this makes sense ...

I have two radgridviews bound to data
One Companies
One Employees
Each Company has a collection of Employees.

The Employees grid is bound to Companies grid on SelectedItem

This all works OK
I select a company and it shows the employees.
I delete or insert an employee and select another company and then reselect the previous, and yes the employee is still deleted or inserted.

Now in addition:
I have two radcomboboxes Company and Employee
The Company combo is bound to the same data as the Company grid and it shows the same Companies.
The Employee combo is bound to the selected item on the Company Combo.

I select a Company in the Company Combo and the Employee Combo offers the correct Employees for that Company.

If I insert or delete a Company in the Company Gridview then the Company Combo reflects that.

However any changes made to the Employees Grid for a Company don't seem to show in the Employees Combo ??

Any ideas
Thanks Jim

3 Answers, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 12 Dec 2011, 04:51 PM
Not sure if this is something I am doing or a bug.
Perhaps I should raise a Telerik ticket ?

Is it clear what my problem is, or do I need to make an example project.
This would take me a while.so if the problem is clear I would prefer not to do that.

Regards
Jim
0
Yana
Telerik team
answered on 13 Dec 2011, 12:56 PM
Hello Jim,

I've tried to reproduce the described issue in a simple project based on your description, but without much success - the second combobox is updated without a problem. Please download the attachment and give it a try. 

If this doesn't help, please open a support ticket and send us a demo project where we can observe the problem.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jim
Top achievements
Rank 1
answered on 13 Dec 2011, 03:52 PM
My problem is combo boxes whose contents are linked to the grid.

Tried to make a little demo but it all seems to work in that.
Need to investigate further ...
Back in a while.
Thanks for now.
Jim
Tags
ComboBox
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Yana
Telerik team
Share this question
or