master-pages Questions

4

Solved

I am getting an error in my asp.net app that reads "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack." protected void btnCustomerProfile...
Pentaprism asked 11/6, 2012 at 15:16

2

Solved

I have 2 master pages that are nested.this is main master page code for example: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPageMaster.master.cs" Inherits="MasterPageMaster...
Modal asked 8/4, 2012 at 10:50

4

Solved

Is it possible to change the master-page of a content-page with the click of a button on that content-page? If not why?
Breastbeating asked 24/12, 2009 at 13:33

3

Solved

How do I include CSS reference in only certain pages on my asp.net website? If I include the reference in my master page, all pages of the website share the CSS reference.
Chromatography asked 25/10, 2010 at 11:7

3

It is necessary to call content Page function from Master Page. Please let me know if more data needed. MasterPage.master.cs looks like protected void Required_Function(object sender, EventArgs ...
Anglim asked 17/11, 2011 at 10:55

3

Solved

I have an asp.net webforms application. Every single aspx.cs class needs to inherit from BasePage.cs which inherits from System.Web.UI.Page. Desired Page Inheritance: class MyChildPage : BasePage...
Bloody asked 31/3, 2014 at 19:44

2

Solved

Reference KB306355: How to create custom error reporting pages in ASP.NET by using Visual C# .NET I understand how to create a Custom Errors page. There are many examples of how to do it, like in...
Vyky asked 19/2, 2014 at 16:57

6

Solved

Long story short, dozens of pages use no master page. For a new module I created a master page with a menu control (menu control exists already) so I can get the same look across the six or so page...
Raul asked 18/8, 2011 at 19:22

2

Solved

I have the following code in my master page: <div id="body" runat="server"> <asp:ContentPlaceHolder runat="server" ID="FeaturedContent" /> <section runat="server" id="sectionMainC...
Quota asked 31/1, 2014 at 9:8

2

Solved

I'm using ASP.NET MVC5, razor syntax. I need a specific "Create" view to NOT inherit the _Layout.cshtml Shared View. Basically, in this particular View, I don't want any of the _Layout.cshtml fea...
Coster asked 2/1, 2014 at 20:23

2

Is it possible in any way to use hogan.js as template engine with layouts something like "Razor or master pages in .NET"? I would get a result like this: layout.hjs: contains "header" & "foot...
Renee asked 25/9, 2013 at 12:2

2

Solved

I want to use nested master page so i create the following master page : <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="test.master.cs" Inherits="DocumentFlowUI.test" MasterPageFil...
Weismannism asked 6/12, 2012 at 14:15

3

Solved

I'm working on a .net 3.5 site, standard website project. I've written a custom page class in the sites App_Code folder (MyPage). I also have a master page with a property. public partial class ...
Abeokuta asked 30/1, 2009 at 11:42

5

Solved

Good day everyone, I am building a page in ASP.NET, and using Master Pages in the process. I have a Content Place Holder name "cphBody" in my Master Page, which will contain the body of each Page...
Creedon asked 29/6, 2009 at 20:44

5

Solved

I've started a WPF (web-based) application and it has multiple pages. I want to implement the concept of a Master page in WPF, so that when I make changes in the design/layout of one page then all ...
Praenomen asked 18/3, 2011 at 23:17

5

Solved

I want to use Paul Irish's Conditional comments from the Boilerplate HTML template: <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <h...
Supersaturate asked 11/7, 2011 at 23:59

5

Solved

I've been scanning around trying to find an appropriate solution for assigning "active/current" class to menu items from the master page. The line is split down the middle with regards of whether t...
Snack asked 18/1, 2011 at 20:39

6

Solved

I'm working on a site which needs to be able to support two or more looks, changable at runtime. I'd hoped to be able to handle the change with a CSS switch, but it looks like I'll need to use a di...
Impenetrability asked 18/8, 2008 at 21:17

5

Solved

Can a page inherit multiple master pages?(ASP.NET)
Frayne asked 2/6, 2010 at 21:35

1

Solved

We're 4 guys making a website for our final school project. We need to allow a user to upload a pdf. We're using Visual Studio 2012, and we have a Master page set up, and the whole login-process an...
Daisy asked 15/5, 2013 at 11:14

8

Solved

I need to set the title of a page dynamically, and so I use code similar to the following: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="~/about.a...
Territus asked 20/1, 2010 at 15:7

3

Solved

I have a simple page inside a master page (well, in a master in a master). In the top master I have the head tag with runat="server", with a number of bits such as scripts, stylesheets, etc. and a...
Runagate asked 5/1, 2010 at 12:44

1

Solved

So there already exists this thread here which has an example that creates a different first page header than the rest of the pages. I can download this example and run it fine. When I tried to mi...
Inconvenience asked 12/7, 2012 at 19:6

2

Solved

I'm starting learning MVC4. I came across the two possibilities of creating a View based on a Razor template or a Master Page. I would like to understand the practical differences between the two....
Plywood asked 10/11, 2012 at 12:35

5

Solved

Mind you, I am using master pages, but can I locate a div within the page and throw some html in there? Thanks.
Sherwin asked 21/1, 2009 at 21:10

© 2022 - 2024 — McMap. All rights reserved.