Top "Master-pages" questions

a feature of ASP.

How to make a certain View in MVC not inherit _Layout.cshtml?

I'm using ASP.NET MVC5, razor syntax. I need a specific "Create" view to NOT inherit the _Layout.cshtml Shared …

c# asp.net-mvc razor view master-pages
How to pass viewmodel to a layout/master page?

Having googling for some time, I'm a little bit confused with how to do this in asp mvc 3. So, the …

c# asp.net-mvc-3 master-pages
Does master page get called first?

I would assume this is true, but wanted to throw this question up. Is the master page executed first in …

c# asp.net .net master-pages
Html.RenderPartial call from masterpage

Here is a scenario: Let's say I have site with two controllers responsible for displaying different type of content - …

asp.net asp.net-mvc master-pages renderpartial html-helper
Twitter bootstrap + asp.net masterpages, how to set navbar item as active when user selects it?

We are in se same situation as question Make Twitter Bootstrap navbar link active, but in our case we are …

asp.net twitter-bootstrap master-pages navbar
How to retrieve hidden field value using javascript?

I've asp.net web site , I used master page for the design. I've child page which is placed in the …

javascript master-pages hidden-field contentplaceholder
Is there a concept of a master page (like in asp.net) for WPF?

I've started a WPF (web-based) application and it has multiple pages. I want to implement the concept of a Master …

asp.net wpf xbap master-pages
ASP.net - The virtual path '/Master.master' maps to another application, which is not allowed

I have an asp.net master page located in the root directory of my site. I have a page in …

asp.net master-pages virtual-path
Use ContentPlaceHolder's default content instead of page's content

When a page that uses a master page doesn't have an asp:Content control for one of the master page's …

asp.net master-pages contentplaceholder