Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Property value does not update on Delete

Not answered Property value does not update on Delete

Feed from this thread
  • Deepak Shakya avatar

    Posted on Feb 8, 2012 (permalink)

    Hi,

    • I am using v.2011.3.1220.1040
    • I have set my RadMaskedTextBox to be Numeric and Mask=d, SelectAll on focus, and UpdateValueEvent=LostFocus
    • The value is bound to a property in a model
    • When the control gets focus, if I enter a value. I tab away and the value is udpated in the property.
    • The control gets focus again, this time I just delete the value and tab away. The property value is NOT updated. It maintains the old value.

    How do I get over this? I have a Required validation attribute on the property and if the user tabs away without any value, the validation should kick in. But it doesn't when the user simply deletes the value and tabs away.

    Any help? Tips?

    Reply

  • Alex Fidanov Alex Fidanov admin's avatar

    Posted on Feb 13, 2012 (permalink)

    Hello,

    Can you confirm that there are no binding exceptions (in the output window)? As the control is not doing any special handling on losing the focus, it could be that there is a problem with the binding between the control's value and your business object.

    Regards,
    Alex Fidanov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Property value does not update on Delete
Related resources for "Property value does not update on Delete"

Silverlight MaskedTextBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]