Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Problem with Change notification in MaskedTextBox control

Not answered Problem with Change notification in MaskedTextBox control

Feed from this thread
  • Varun avatar

    Posted on Nov 22, 2011 (permalink)

    Hi, i am using MaskedTextBox Control as one of the column templates in a RadDataGridView control for price entries.Hence, when i am entering a value say (21,22), there are 4 change notifications to the ViewModel code and this is not what i am expecting.

    What i am expecting is after finishing entering the value (21,22) i want a change notification, i.e., after losing focus of the currently editing cell.

    As i am not using eventhandling mechanism and instead relying on MVVM, i would like to know how we can accomplish it...

    Cheers,
    Varun.


    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 25, 2011 (permalink)

    Hello Varun,

     You can use the UpdateValueEvent property of the RadMaskedTextBox or RadMaskedTextInput and set it to 
    "LostFocus". This way you workaround the Silverlight limitation ( you cannot use UpdateSourceTrigger = LostFocus, only Default and Explicit are allowed). You can find a sample project attached. Please examine it and let us know if it fits in your scenario.

    Greetings,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Problem with Change notification in MaskedTextBox control
Related resources for "Problem with Change notification in MaskedTextBox control"

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