We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

SfNumericTextBox Binding issue

I think that I have found a defect in your SfNumberTextBox.  I have attached a working sample.

Steps to reproduce:

1. Click Button.

2. Set Focus on text box.

Notice that value in text box reverts back to original value.  This old value gets set in the viewmodel once the textbox loses focus.

Thanks

 

 



SfNumericTextBoxTest_bd5ae0ee.zip

1 Reply

SL Swasthika Lakshmi I Syncfusion Team March 18, 2013 07:09 AM UTC

Hi Dave,

We have attached the modified sample to fix this issue. In the modified sample, we have bound Value property instead of Text property in SfNumericTextBox. Please find the attached modified sample.

Code Snippet:

<Input:SfNumericTextBox Width="115"

Height="40"

FormatString="n0"

InputScope="Number"

Value="{Binding TestProperty, Mode=TwoWay}"/>

 

Please let us know if you have any queries.

Regards,

Swasthika Lakshmi I



ModifiedSample_1cf68403.zip

Loader.
Live Chat Icon For mobile
Up arrow icon