master-pages Questions
3
Solved
When a content placeholder contains any code blocks it reports that the control collection is empty.
For instance:
MasterPage.aspx
<asp:ContentPlaceHolder ID="Content1" runat="ser...
Asti asked 8/6, 2009 at 12:40
4
I've a SuperController which will be inherited from all the controllers. In the constructor I'm trying to populate the ViewData using the ControllerName and the ActionName.
I'm not going to pass t...
Seniority asked 31/7, 2009 at 13:5
5
Solved
I have a few pages on my asp.net website that I would like to turn off a control on the master page. Is there a way to communicate with the master page from a child page?
Exeter asked 7/7, 2009 at 14:48
5
Solved
Problem
When working with MasterPages, a common irritation I run into is that script tags in the master are relative to the consuming page.
So for instance, your JavaScript might work if your co...
Bake asked 30/6, 2009 at 14:19
2
Solved
I am trying to use the jquery library in ASP.NET in a subfolder called "samples" with a masterpage that is located in the root directory. Presently the references to the jquery scripts are located ...
Anonymous asked 22/6, 2009 at 7:38
5
Solved
Is there a good way to assign ViewData to nested master pages? For example, in my top level masterpage I might have info on the logged in user. I also have a nested masterpage that is displayed whe...
Spokeshave asked 6/5, 2009 at 20:13
1
Solved
I'm using a masterpage in my ASP.NET MVC project. This masterpage expects some ViewData to be present, which displays this on every page.
If I don't set this ViewData key in my controllers, I get ...
Kush asked 10/6, 2009 at 15:52
2
Solved
I wanted to know if the MVC framework can leverage the Nested Master Page? If so does anyone have some info on how to achive this?
Honewort asked 3/6, 2009 at 20:45
2
Solved
is there a concept like ASP Masterpages in JSP?
Regards.
Reprisal asked 1/5, 2009 at 0:8
2
Solved
Following the NerdDinners example, I am interested in creating a strongly typed Master Page. In order to achieve this, I use a base controller which retrieves the data for the master page. All othe...
Rexford asked 20/4, 2009 at 13:25
1
I have a strongly typed master page, but I want to use a different type for some of it's child pages.
For example, on the master page...
<%@ Master ... Inherits="System.Web.Mvc.ViewMasterPage&...
Mellman asked 23/4, 2009 at 14:43
4
Solved
I'm working on a website that was coded in ColdFusion. I have a CSS/HTML template I would like to apply to the content of every page, without duplicating any more code than necessary. I've gotten k...
Akkadian asked 2/4, 2009 at 19:39
4
Solved
I know I can access the head section of a page which uses a masterpage programmatically this way (in code behind):
This is only an example (I'd like to insert scripts and styles etc.):
this.Heade...
Iey asked 20/2, 2009 at 8:24
3
Solved
I'm using a few (2 or 3) master pages in my ASP.NET MVC application and they must each display bits of information from the database. Such as a list of sponsors, current fundings status etc.
So my...
Cuttlebone asked 13/9, 2008 at 13:5
8
Solved
Is there a way to check if the user has a different version of the CSS cached by their browser and if so force their browser to pull the new version?
Ricker asked 19/9, 2008 at 11:8
3
Solved
What's the difference between the ASP.NET Master Page, and the MVC Master Page? And the AJAX Master Page for that matter?
Glimmering asked 17/1, 2009 at 2:35
3
Solved
I have the requirement to support different Master pages on my application (ASP.NET MVC).
What is the recommended way to:
Pass the master page name to the view from.
Store the master page (in ses...
Milkmaid asked 7/11, 2008 at 14:54
4
Solved
Has anyone had experience using these two technologies in tandem? What are (if any) the major difficulties in getting the two to cooperate? How would a site using these technologies be different th...
Monody asked 6/1, 2009 at 13:39
8
Solved
So, I've had a fair amount of experience programming database driven web apps using php and coldfusion (not together, at different times) and I'm starting to look into the asp.net world (I ha...
Scar asked 23/12, 2008 at 17:17
2
Solved
I am assigning ViewState["something"] in Page Load of content page and when I try to access the ViewState variable in Master Page Load event handler, the viewstate variable is lost.Can anyone guide...
Haggle asked 18/12, 2008 at 16:21
7
Solved
Suppose you have two seperate ASP.NET Web Application projects that both need to use a common MasterPage.
What's the best way to share the MasterPage across projects without having to duplicate co...
Locket asked 27/8, 2008 at 18:57
2
Solved
I'm playing with ASP.NET MVC for the last few days and was able to build a small site. Everything works great.
Now, I need to pass the page's META tags (title, description, keywords, etc.) via th...
Massasauga asked 27/9, 2008 at 17:29
6
Solved
I've just been learning about master pages in ASP.NET 2.0.
They sound great, but how well do they work in practice?
Does anybody have experience of using them for a large web site?
Clavichord asked 9/8, 2008 at 9:51
3
Solved
I specifically want to add the style of background-color to the <body> tag of a master page, from the code behind (C#) of a content page that uses that master page.
I have different content...
Iolenta asked 5/8, 2008 at 12:46
© 2022 - 2024 — McMap. All rights reserved.