This is a migrated thread and some comments may be shown as answers.

Input mask on texbox inside a Grid

1 Answer 178 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 22 May 2014, 03:42 PM
Hello,

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.

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 22 May 2014, 04:15 PM
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.

Regards,
Dimiter Madjarov
Telerik
 

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.

 
Tags
Grid
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or