views:

201

answers:

1

Please check below screen shot. What is main difference between Master Page and MVC View Master page.

When I should use Master page and when I should use MVC View Master page.

Thanks.

alt text

+1  A: 

The difference is the base class. In an ASP.NET MVC application you should use MVC View Master Page which derives from ViewMasterPage and you have access to helpers and it can be strongly typed to a model.

Darin Dimitrov
@Darin Dimitrov : What are the reasons why I should not use normal Master Page.??
Mahin
Because in a normal master page you don't have access to helpers.
Darin Dimitrov
@Darin Dimitrov : Ok.. got it now.. thanks :)
Mahin