O'Reilly logo

.NET Framework 4.5 Expert Programming Cookbook by A.P. Rajshekhar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a user registration page using HTML5 controls

HTML5 has introduced many new input controls. They include (but are not limited to) input controls for e-mail, date, date and time, number, phone number, and range. ASP.NET 4.5 incorporates all of the previously mentioned controls. So, if you are working with .NET 4.5, you would not have to create a separate HTML page to develop an HTML5-based page. In this recipe we will see how to develop a user registration page using HTML5-based ASP.NET controls.

How to do it...

  1. Launch Visual Studio 012.
  2. Create a project of type ASP.NET Web Forms Application and name it RegistrationFormHtml5.
  3. Save the solution as RegistrationFormHtml5.
  4. Remove Default.aspx and AboutUs.aspx, as we will not be using them.
  5. Add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required