MVVM bind property for changing the mask

3 posts, 1 answers
  1. eduardo
    eduardo  avatar
    7 posts
    Member since:
    Jul 2012

    Posted 17 Jul 2014 Link to this post

    Is there any way to bind my ViewModel and change the mask according to my ViewModel Property?
  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 18 Jul 2014 Link to this post

    Hello eduardo,

    Currently, the MaskedTextBox widget does not have built-in MVVM mask binding, but you can easily add one and update the mask of the widget dynamically. Here is a simple Dojo demo, which shows how to accomplish this.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. eduardo
    eduardo  avatar
    7 posts
    Member since:
    Jul 2012

    Posted 18 Jul 2014 in reply to Georgi Krustev Link to this post

    Thank you, it worked like a charm :)
Back to Top