Top "Master-pages" questions

a feature of ASP.

ASP.net access a master page variable through content page

I have a master page: <%@ Master Language="C#" AutoEventWireup="true" Codefile="AdminMaster.master.cs" Inherits="AlphaPackSite.MasterPages.AdminMaster" %> …

c# asp.net winforms master-pages
Set Property Value on Master Page from Content Page

I need to pass data to a variable in my master page each time a page is loaded. I have …

asp.net master-pages roles
Get ControllerName and ActionName and populate the ViewData in Master Page?

I've a SuperController which will be inherited from all the controllers. In the constructor I'm trying to populate the ViewData …

asp.net-mvc master-pages
CSS not updated during debugging ASP.NET MVC application

I am working on a test application based on ASP.NET MVC. I am new to CSS stuff so I …

asp.net-mvc css master-pages
How to get the ScriptManager of Master Page into Child page's code behind c# (.cs) file

Following is the web site environment I created: I have a Master page. I have created a Child page from …

c# asp.net master-pages scriptmanager
Does a MasterPage know what page is being displayed?

When I navigate on a website utilizing MasterPages, does the application know what page I am on? If so, does …

asp.net navigation master-pages
PageMethods is not defined

I am setting up PageMethods to access server side code using javascript. I am receiving the error "PageMethods is not …

.net asp.net ajax master-pages pagemethods
How to programmatically add stuff to contentPlaceHolder?

I have a master page and all of my pages are inheriting it. For formatting, I thought to place the …

c# asp.net master-pages contentplaceholder
ASP.NET MVC - View with master page, how to set title?

What is prefered way of setting html title (in head) for view when using master pages? One way is by …

asp.net asp.net-mvc master-pages
ASP.NET masterpages: how to insert markup in the head section inside the aspx?

I know I can access the head section of a page which uses a masterpage programmatically this way (in code …

asp.net header master-pages declarative