Update for the .NET Framework 4
The first update was shipped with VS 2010 SP1. You can read about the framework update here: http://support.microsoft.com/kb/2468871. One of the features of HTML 5 is there are now new input types such as date, url, email and more. While most browsers today don’t support these new input types you should still use them today because most mobile devices do support them and it changes the keyboard these devices display. For example specifying type=”email” will cause many phones to provide the “@” character on the keyboard. type=”email” or type=”url” will cause many phones to provide the “.com” button on the keyboard as a shortcut.
Before the update above it was illegal to use these input types in Web Forms. The following would generate an error:
<asp:TextBox id=”TextBoxEmail” runat=”server” type=”email” />
Because we were validating what values could be provided for the type= attribute. This validation was relaxed as part of the above update.
Read more: Scott Hunter
QR: