When an ASP.NET TextBox renders it produces:
However I need it to render as a HTML5 number type instead, like
You could use the members of the Enum TextBoxMode
This render
the full Enum is
public enum TextBoxMode
{
SingleLine = 0,
MultiLine = 1,
Password = 2,
Color = 3,
Date = 4,
DateTime = 5,
DateTimeLocal = 6,
Email = 7,
Month = 8
Number = 9,
Range = 10,
Search = 11,
Phone = 12,
Time = 13,
Url = 14,
Week = 15
}