So I've setup a site collection using the Publishing Portal template and stubbed out a prototype site structure including three tiers. At the second tier I've created a Publishing site and developed a custom master page for the site and its third tier children. The problem is that the banner graphic on a few pages should be modified to...
Is it possible to share the App_Code directory and master pages with a nested application? I have a third-party newsletter application installed in my web app and I want it to share the same look and feel as the "parent" application. When I try, though, I get an error saying that the child application can't reference any of the exterio...
I try to figure out what's the best strategy to manage a menu in Asp.Net and highlight the "active" menu-item.
That's have to be done in the MasterPage but it's the Page that know what menu-item to highlight.
...
The situation is this:
I have an abstract class used globally that used to reference a Session variable via a public property. We now want to change its behavior to return a property on a master page.
(By simply changing the guts of this particular property, we hope to avoid doing a lot of rewrites)
This is just a snippet of the cl...
Hi,
I'm wanting to throw a __DoPostBack from a master page (C#, ASP.NET) and catch it with the master page's RaisePostBackEvent method. At the moment it gets thrown from the master page though the content pages also have a RaisePostBackEvent method and these are what are catching my Master Page's postback.
I'm wondering how I would go ...
Hello, I have this quite popular problem, but have failed to find a solution that works.
Basicly, I am using a Master Page (/Masterpages/Default.master), that includes
<link href="../css/style.css" rel="stylesheet" type="text/css />
And it also includes some images with the same relative linking.
But when I apply the Master Page to ...
So I have a masterpage with a login that is in an update panel. I have a child page that has a literal control that should update when the login updates. What it doesn't do is reload the method I use to generate the content for that literal when it posts back. I tried to call the method on the child page from the master page once you ...
I am building an ASP.NET application and would like to use a master page to display branding and navigation info and move through several content pages. However, every time I try to load new content the entire page flickers. Is there anyway to avoid this?
Master page:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="S...
I have ImageButton in a MasterPage. I want the OnClick event to fire and be captured by the .ASPX page hosted inside the MasterPage?
MasterPage:
<asp:ImageButton ID="btnClear" OnClick="Clear_Click"
ImageUrl="images/Back_Icon_06.png" runat="server" AlternateText="Clear"
width="38" height="39"/>
...
On one site, I'm only using a single level Masterpage and in a page using that master, I can do this.Master.FindControl("controlName") to access the control. Works fine.
However, using the same code on a site with two masterpage levels. MainMaster and SpecificMaster which has MainMaster as its Master.
So on the page which uses Specif...
I have 3 ASP.Net pages. Each one has a form, a submit button, and a Javascript submit function, which it validates textbox data.
When I convert these 3 pages to Master Page/Content Page, what is the best way to merge three forms and submit functions?
Thanks in advance!
...
When a page that uses a master page doesn't have an asp:Content control for one of the master page's ContentPlaceHolders, the default content is shown instead. I want to use that default content on a page that does have an asp:Content control for that ContentPlaceHolder.
In the page that uses the master page I want to decide in code whe...
I have a few content pages that inherit from BasePage and use a Master Page.
From the BasePage.cs file, I need to call a method defined in the Master Page.
How would I do it?
...
I have a master page with Header, Menu, Content and Footer panes in my asp.net mvc (C#) application.
I don't want the Header and Footer panes to refresh on each page navigation, only the Menu and Content panes should get refreshed.
How can i achieve it in the asp.net mvc application? any suggestions
...
I've been a .Net developer for the past seven years or so, and been working with ASP.Net for the last couple of years. I'm now using Ruby on Rails for some projects, and I'm wanting to know if there is something in Ruby on Rails that lets you do master page type stuff?
Basically, I want a way to provide a consistent look and feel for th...
I have some boiler-plate script required for a Telerik RadGrid on one of my content pages. ASP.NET complains if I try and place the script inside the content element, and it complains if I place the script in the master page, because the grid referenced by the script doesn't yet exist 'in' the master page.
I'm sure there is something f...
Hi.
Is it possible to get all controls from a ChildPage from the MasterPage the child is nested in?
I need all the controls within my form tag, but when i use a MasterPage i cant see the controls from the ChildPage, only the ones in the MasterPage.
Anyone with a good solution on this one? :)
...
I have a linkbutton in my masterpage:
<asp:LinkButton runat="server" OnClick="Transfer" Text="Transfer"></asp:LinkButton>
in my code behind
protected void Transfer(object sender, EventArgs e)
{
// Codez
}
Says that no such method Transfer exists.
Any idea why or how to fix it?
MasterPage has ...
I've spent a decent amount of time on the web and messing around in the settings and I haven't been able to find a way to create a project in VWD 2010 without a masterpage. Just removing the reference yields an error.
Anyone know where I can find some information on this? I'm creating a simple application that has no use for a masterpag...
I am not a .Net guy but trying to get update an existing .net site. Trying to set up a unique id for the body tag even though I am using a master page.
<body id="<% page_name %>">
Obviously the above example doesn't work but not quite sure if there is a function that returns the file name that can be easily added to the masterpage so ...