I have a question about the IntegerTextBoxFor from Telerik Extensions for MVC. I'm currently trying to remove the use of commas from it. Currently here is what I have.
Editor Template called Int32.cshtml
@model System.Int32
@using Telerik.Web.Mvc.UI
@Html.Telerik().IntegerTextBoxFor(model => model)
Model
[NopResourceDisplayName("Admin.ReturnRequest.List.SearchOrderId")]
public int SearchOrderId { get; set; }
I have tried adding [DisplayFormat(DataFormatString="{0:g}")] to the model but it has done nothing. I also tried using 0:#####, 0:00000, and 0:n.