Top "Master-pages" questions

a feature of ASP.

Accessing controls in Master page from content page

I am trying to access control in Master page from Content page(Asp.net) using javascript like this alert(document.…

javascript asp.net master-pages content-pages
Access asp:content from code behind

Ok, I am an experienced web developer but sometimes ASP.Net is tricking me. I have a master page in …

asp.net master-pages
Visual Studio 2012: How to create a web form using Master Page

Hi I am fairly new to programming and C# in particular. I am working from a text book "Cloud Database …

c# asp.net visual-studio-2012 webforms master-pages
The name 'ViewData' does not exist in the current context

I am working over my first application over MVC3 and still kind of a newbie in it: I’m trying …

.net asp.net-mvc-3 master-pages viewdata viewbag
Adding a WebPart to a SharePoint 2013 Master Page

Have looked on here plenty but this is the first time I've asked a question, so please bear with me. …

sharepoint master-pages sharepoint-2013 content-query-web-part
Changing the generated ASP.Net <form> id?

In my ASP.Net page I have <form id="MasterPageForm" runat="server"> However, whenever the markup is generated, …

asp.net html forms master-pages
why we use @Master type?

if we have a master page and a content page.so the content page @Page directive look like as <%@ …

c# asp.net master-pages content-pages
ASP.NET MVC - Set ViewData for masterpage in base controller

I'm using a masterpage in my ASP.NET MVC project. This masterpage expects some ViewData to be present, which displays …

asp.net-mvc controller master-pages
How can I change the background of a masterpage from the code behind of a content page?

I specifically want to add the style of background-color to the <body> tag of a master page, from …

c# asp.net .net master-pages
ASP.NET - Update panel in Master page, refresh button in Content Page

I have Update panel in Master page: <asp:ScriptManager id="CartScript" runat="server"></asp:ScriptManager> <…

asp.net updatepanel master-pages ajax.net contentplaceholder