Tag Archives: Razor

ASP.NET MVC Razor Sample HTML Helper Creation

Simplest example of creating an HTML helper method in Asp.net MVC Razor View In this example I am creating an helper method to format the currency cuurency color to be red if value is minus and green if value is positive. Step 1 : Create the helper function Step 2 : Create an decimal array… Read More »