radComboBox and DataBinding not working

4 posts, 0 answers
  1. Lee
    Lee avatar
    48 posts
    Member since:
    Feb 2010

    Posted 23 Feb 2010 Link to this post

    I have a radComboBox which is to display list of country
    I have CompanyMaster bindingsource  and CountryMaster bindingsource objects.
    radComboBox 's datasouce is CountryMaster bindingsource  and in databinding selecectedItem is set to masterCompanyBindingSource - FK_CountryID

    but when i select a  value it does not gets changed in underlying binding source.

    what is the problem ?

    Observation: above technique works well with WinForm Dropdown control.


    Regards

  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 24 Feb 2010 Link to this post

    Hello Lee,

    I am afraid that I do not completely understand your issue, namely, how are you setting the selected item to the name of a relation - "and in databinding selecectedItem is set to masterCompanyBindingSource - FK_CountryID". Please explain your scenario in more details and if possible paste the code region which you are using to bind the combo boxes. I am looking forward to your reply.

    Best wishes,
    Victor
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Lee
    Lee avatar
    48 posts
    Member since:
    Feb 2010

    Posted 24 Feb 2010 Link to this post

    Hi Victor,

    Sorry for not been clear on the question.

    But i have now got the solution. I was binding SelectedItem property, which i believe was wrong.

    Binding to SelectedValue property did the job.

    Regards
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 25 Feb 2010 Link to this post

    Hi Lee,

    It is great that you quickly found a solution. We are ready to assist you should you have other questions.

    Best wishes,
    Victor
    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