Binding problem

2 posts, 0 answers
  1. JKattestaart
    JKattestaart avatar
    8 posts
    Member since:
    Jan 2007

    Posted 13 Nov 2009 Link to this post

    I'm new to the telerik control and i have a problem with the binding.
    My combox selectedvalue is bound with the foreign key of a table on a dataform

    <my:ProgramCB x:Name="cmbProgram" SelectedValue="{Binding Mode=TwoWay, NotifyOnValidationError=true, Path=ProgramId,           ValidatesOnExceptions=true}" Grid.ColumnSpan="7" Grid.Row="1" Grid.Column="4" TabIndex="1"/>

    While the dataform loads the combobox is loaded with his own datasource.
    So far so good, but initially the binding wipes out the values of the foreign key. I guess because the foreign key is overwritten by an inital empty combobox. When i debug the value it is 0, but the value from the dataset does have a value!

    How to resolve this?
  2. Teodor
    Teodor avatar
    501 posts

    Posted 19 Nov 2009 Link to this post

    Hello JohnK,

    Thank you for your interest in our controls.

    However, the code piece provided does not give us enough information on what might cause the issues you experience. In this relation I suggest you to open a new support ticket and attach a sample project reproducing the bug. This will speed up our work towards resolving the problem.

    Thank you in advance for your collaboration.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top