Articles : Page 1 of 1

  • Changing Base Type Of A Razor View

    Changing Base Type Of A Razor View

    Feb 11
    21

    Within a Razor view, you have access to a base set of properties (such as Html, Url, Ajax, etc.) each of which provides methods you can use within the view. For example, in the following view, we use the Html property to access the TextBox method. @Html.TextBox("SomeProperty") Html is a property of type HtmlHelper and there are a large number of useful extension methods that hang off this type, such as  TextBox. But where did the Html property come from? It’s a property of System.We...


  • Integrate Html5 Form in ASP.NET MVC

    Integrate Html5 Form in ASP.NET MVC

    Oct 10
    20

    This article is divided into three parts. In the first, part I will show you how you can add Html5 forms in your ASP.NET MVC application with very minimum effort. In the second part, I will show you how to implement client side validation which will trigger automatically even when the browser does not have the html5 client side validation support and in the last part I will show widgetify the form in the client side with jQuery for the older browser that does not have support for Html5 form. ...



  • 1