Some Barcodes Loose binding

4 posts, 0 answers
  1. Paul
    Paul avatar
    113 posts
    Member since:
    May 2009

    Posted 05 Mar 2012 Link to this post

    Hi,
        When setting a binding on some barcodes like
    myRadBarcode128.SetBinding(RadBarcode128.TextProperty, new System.Windows.Data.Binding("Data_value"));

    The binding works the first time but then seems to get removed from the control. So if Data_value is updated the barcode is never updated. Checking the binding using myRadBarcode128.GetBindingExpression(RadBarcode128.TextProperty) it shows null.

    The same code for the below barcode works all the time and checking the binding using myRadBarcodeEAN8.GetBindingExpression(RadBarcodeEAN8.TextProperty)  you can see that it's still there.
    myRadBarcodeEAN8.SetBinding(RadBarcodeEAN8.TextProperty, new System.Windows.Data.Binding("Data_value"));

    So why does this get removed for some of the other barcodes and works for others?
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 08 Mar 2012 Link to this post

    Hi,

    The subtypes of barcodes have identical architecture, so there is no apparent reason for this different behavior. To further trace the issue it will be best if you open a formal support ticket, and send us a small project, demonstrating the setup, and showing the unwanted behavior. We will debug it locally, and advise you further.

    Greetings,
    Yavor
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Paul
    Paul avatar
    113 posts
    Member since:
    May 2009

    Posted 08 Mar 2012 Link to this post

    Hi Yavor,
                  I have now submitted support ticket with demo project. Ticket ID 520587.

    Thanks
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 09 Mar 2012 Link to this post

    Hello,

    Thank you - it will be addressed shortly.

    Greetings,
    Yavor
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top