<asp:TextBox ID="txtDate" runat="server" TextMode="Date" />
It works in Chrome, but not in Firefox or IE 11. Googling around isn't yielding a lot of helpful answers. As far as I know, IE 11 is HTML5 compliant.
<asp:TextBox ID="txtDate" runat="server" TextMode="Date" />
It works in Chrome, but not in Firefox or IE 11. Googling around isn't yielding a lot of helpful answers. As far as I know, IE 11 is HTML5 compliant.
The TextMode
property generally corresponds to the <input type="" />
attribute (excepting multiline
which renders a <textarea />
). ASP.NET 4.x introduced additional values corresponding to new HTML5 input types.
Internet Explorer 11 does not support most of these new input types, specifically it does not currently support the "date
", "datetime
", nor "time
" values. http://caniuse.com/#feat=input-datetime however Chrome, Opera, and Mobile Safari currently do.