In my events web site I need to show event dates in lists so users can easily see them. I decided to use day calendar view like shown on image on left. As there are more than one view where I need this functionality I wrote HTML extension method that outputs day calendar view based on current date. In this posting I will show you my extension method and show you how to use it.
DayCalendarPage extension method
Here is the extension method that generates day calendar page like shown above.
public static MvcHtmlString DayCalendarPage(
View Complete Post