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

Some Barcodes Loose binding

3 Answers 99 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Paul
Top achievements
Rank 1
Paul asked on 05 Mar 2012, 03:43 PM
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?

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 08 Mar 2012, 09:08 AM
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 >>
0
Paul
Top achievements
Rank 1
answered on 08 Mar 2012, 12:42 PM
Hi Yavor,
              I have now submitted support ticket with demo project. Ticket ID 520587.

Thanks
0
Yavor
Telerik team
answered on 09 Mar 2012, 09:40 AM
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 >>
Tags
Barcode
Asked by
Paul
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Paul
Top achievements
Rank 1
Share this question
or