Input mask on texbox inside a Grid

2 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    20 posts
    Member since:
    Apr 2014

    Posted 22 May 2014 Link to this post


    I'm using a Grid in line edit mode to edit a list of contacts and I'm looking for a way to set a mask on the phone number and email.

  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2211 posts

    Posted 22 May 2014 Link to this post

    Hello Alexandre,

    The Masked TextBox could be used as an editor template using the MaskedTextBoxFor method.
    Html.Kendo().MaskedTextBoxFor(model => model)
    On the following documentation page you could find information on how to define an editor template.

    Dimiter Madjarov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top