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

Old value when changed value

Hello!

When I changed the value in a SfNumericTextBox  and i clicked direct in the button on the commandbar, don't geted the currente value.
This only happend in uwp.

3 Replies

PA Paul Anderson S Syncfusion Team December 10, 2018 12:43 PM UTC

Hi Renato, 
 
Greetings from Syncfusion Support. 
 
By default, SfNumericTextBox’s ValueChangedMode is OnLostFocus. In this mode, SfNumericTextBox’s Value updated while its focus gets lost. But, if we press button in command bar directly after entered the value in SfNumericTextBox, then its focus not get lost as per command bar behavior in UWP. So, you can resolve this issue by changing the ValueChangeMode of SfNumericTextBox as OnKeyFocus. 
 
After analysis in source level that we concluded that we can achieve your requirement in sample level by setting “OnKeyFocus” value to this “ValueChangeMode” property. 
 
ValueChangeMode="OnKeyFocus" 
  
We prepared the sample for your requirement. Please find the sample from the below link. 
 
Regards, 
Paul Anderson 



RC Renato Cordeiro December 10, 2018 01:20 PM UTC

Hi!

Thanks, worked perfectly.


PA Paul Anderson S Syncfusion Team December 11, 2018 03:56 AM UTC

Hi Renato, 
  
Thanks for the update. We are happy to assist you. Please get in touch if you required further assistance. 
  
Regards, 
Paul Anderson 


Loader.
Live Chat Icon For mobile
Up arrow icon