combo box selecteditem doesn't seem to reflect data changes

4 posts, 0 answers
  1. Jim
    Jim avatar
    68 posts
    Member since:
    Apr 2011

    Posted 08 Dec 2011 Link to this post

    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

  2. Jim
    Jim avatar
    68 posts
    Member since:
    Apr 2011

    Posted 12 Dec 2011 Link to this post

    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
  3. DevCraft banner
  4. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 13 Dec 2011 Link to this post

    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 >>

  5. Jim
    Jim avatar
    68 posts
    Member since:
    Apr 2011

    Posted 13 Dec 2011 Link to this post

    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
Back to Top