or
@(Html.Kendo().Grid<Mallons.DomainFire.Models.Houses>() .Name("gridFcRevised") .Columns(columns => { columns.Command(command => command.Custom("View").Click("viewRevisedHouse")).Width("85px").HtmlAttributes( new {@data-actionurl=Url.Action('AjaxAdd', 'HouseFee', new {Oid = '#=Oid#'})}); //Error here columns.Command(command => command.Custom("View").Click("viewRevisedHouse")).Width("85px"); // This works fine columns.Bound(p => p.Oid).Visible(false); columns.Bound(p => p.ApplicationDate).Format("{0:dd/MMM/yyyy}").Title("Application Date"); columns.Bound(p => p.RevisedHouseReason).Title("Revised Reason"); }) .Pageable() .Sortable() .Scrollable(s=>s.Height("auto")) .Filterable() .DataSource(dataSource => dataSource .Ajax() .Events(e => e.Error("handleAjaxError")) .PageSize(10) .Read(read => read.Action("RevisedHouses_GridRead", "House", new {originalHouseOid= Model.Entity.Oid })) ))1.public class MyViewModel2.{3. public string PhoneModel { get; set; }4.}1.@model MyViewModel2. 3.@Html.EditorFor(model => model.PhoneNumber)1.@model MyViewModel2. 3.@(Html.Kendo().MaskedTextBoxFor(model => model.PhoneNumber).Mask("(999) 000-0000"))1.//2.// Summary:3.// Creates a new Kendo.Mvc.UI.MaskedTextBox.4.public virtual MaskedTextBoxBuilder MaskedTextBoxFor(Expression<System.Func<TModel, int?>> expression);