1

If I understand things correctly, to use MVC Contrib's FluentHtml in my Views, I need to change my Views to inherit from MvcContrib.FluentHtml.ModelViewPage instead of System.Web.Mvc.ViewPage.

Will I lose any functionality provided by System.Web.Mvc.ViewPage if I do that?

Mattio
  • 2,014
  • 3
  • 24
  • 37

2 Answers2

2

I don't think so, as ModelViewPage inherits from ViewPage so will contain all the functionality. I just had a quick look at the source and there's no overriden base members so you should have everything from the base class intact and available.

FinnNk
  • 3,249
  • 23
  • 25
1

You will not lose anything. MvcContrib.FluentHtml.ModelViewPage<T> derives from System.Web.Mvc.ViewPage<T>.

Tim Scott
  • 15,106
  • 9
  • 65
  • 79