master-pages

Open source Asp.Net Master page Templates

Where can I download Open source Asp.Net Master page Templates? ...

Asp.net Site on GoDaddy Loads Slowly

I just published a very small site to GoDaddy that I programmed in Microsoft Visual Web Developer 2008. The site only contains 6 sheets, none of which are data intensive. Each has a few small images that serve mostly to navigate to the other sheets. There is no data, no SQL, nothing like that. There is one master page that governs th...

asp.net master page/content page interaction with style sheet

Learning how to do a master page in asp.net. Trying to figure out how my style sheet interacts with respects to the master page and content page. I can get HTML tags like body and the style sheet to react. But when I call the ID attribute of a label no styling takes place. What am I missing here as far as interaction? BTW I'm using VS200...

Changing Form Id from 'aspnetForm' to custom using JQuery ready event

Hi, I want to change my asp.net form's Id ="aspnetForm" to custom name (I can't change it as its a child page and .NET would enforce 'aspnetForm' name.). I am trying to do this in Jquery .ready event but no luck. I am wondering now whether it's even possible to do that? If not what are other possible ways.. Thh Analytics Engine we use...

Applying a Dojo Toolkit (Dijit) theme to ASP.NET pages.

In the code below, I am trying to apply a Dijit theme to the controls in my .aspx page. However, the controls persist in their normal, unthemed appearance. Anybody know why? Master Page: <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.master.cs" Inherits="WebJournalEntryClient.Main" %> <!DOCTYPE html PUBLIC "-//W3...

How can I get syntaxic coloration for Master Pages in MonoDevelop ?

I think the title speaks for it self... I mean, I can edit my master page file, it compiles and all but all the text is black. It's ok when it comes to .aspx or .ascx file but not for master pages... Any ideas ? ...

ASP.NET declare a CSS stylesheet one time only

Hi, if i have a single CSS stylesheet for a website and only want to declare it once, that is, not use the following code on every aspx page.. <link href="stylesheets/general.css" rel="stylesheet" type="text/css" /> Am i forced to use a .master page? or is there another way to do this.. ...

Problem with jQuery selector and MasterPage

Hi, I have a problem with a master page containing a asp:textbox that I'm trying to access using jQuery. I have read lot sof thread regarding this and tried all the different approaches I have seen, but regardless, the end result end up as Undefined. This is the relevant part of the MasterPage code: <p><asp:Label ID="Label1" Associate...

jQuery document.ready + Asp.Net ContentPlaceholder cause Visual Studio intellisence problems

Hi! I want to execute JavaScript when document is ready without much syntax overhead. The idea is to use Site.Master and ContentPlaceholder: <script type="text/javascript"> $(document).ready(function () { <asp:ContentPlaceHolder ID="OnReadyScript" runat="server" /> }); </script> and in inherited pages just write plain...

Best .Net Blog Engine for a Web Form under a Master Page

I have a pretty slick website and I wanted to add a simple blog system to it, without too much work. I've looked into a few blog systems, but none of them seem to be simple almost control like systems. So anyone have any recommendations for a simple asp.net blog engine? ...

Using jquery with nested masterpages

Hi everyone, Can anyone show me how to use jquery in an asp.net nested masterpage. I have my main masterpage where I have added the link to the jquery libaray and also the validation framework. I have then created another masterpage with some styling and created a aspx page based on that masterpage. How can I attach the validation fra...

How do I use master page container in partial view

I have several partial views with Javascript that I am trying to move to the bottom of the page. To do this I am trying to use a container in the master page Master Page -> <asp:ContentPlaceHolder ID="Foot" runat="server"></asp:ContentPlaceHolder> Partial view(ascx) <asp:Content ID="header" ContentPlaceHolderID="head" runat="se...

Missing Master Pages when using Web Deployment Project

I am trying to deploy an ASP.NET 3.5 Web Application to my production server and I am using the Web Deployment Project for this purpose. I have a folder named MasterPages in the root of the application which contains all the master page files. When I build this project in the release mode and deploy it on to the server I am getting the b...

User controls in masterpage and anonymous user

I am developing a master page which includes the user control that generates a menu from the list with a specific logic. Before including the control into master page I successfully configured anonymous access to the site. After including the control and deploying - site prompts for user name and password. I allowed the anonymous acce...

Too many JavaScript and CSS files on my ASP.NET MVC 2 Master Page?

I'm using an EditorTemplate DateTime.ascx in my ASP.NET MVC 2 project. <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DateTime>" %> <%: Html.TextBox(String.Empty, Model.ToString("M/dd/yyyy h:mm tt")) %> <script type="text/javascript"> $(function () { $('#<%: ViewData.TemplateInfo.GetFullHtmlFieldId(String...

What is wrong with this slimbox script code?

I want to make a gallery with slimbox but cannot get it to run the script. I'm using an ASP.NET Master Page and want the script to be retrieved on this page. The code I am using is: <script type="text/javascript" src="js/slimbox.js"></script> <script type="text/javascript" src="js/mootools.js"></script> ...

Override ASP Master Page html in a single content page?

Hi, I'm using ASP Master pages, and I would like to add an "onkeypress" event handler to the <body> in the Master page, but only for a single page. How do I do this? Obiwanke-stackoverflow, you're my only hope. -Alan ...

Masterpage + Iframe funcionality?

We implemented masterpages replacing iframes in order to have a clearer way to design. The problem is that in exchange we lost the iframes benefit of partial rendering when redirecting between pages... We use update panels(ajax .net) in both designs so the only problem remains in redirections... ...

How do I run JavaScript in my ContentPlaceHolder?

I had a load of javascript that ran well when everything was in one page. Now that I've separated it out, I'm not sure how to include the javascript, ssing the HEAD tag in in the master, and also, I had functions that ran when the body loaded but they are in the master too. By the way this is a .NET 2.0 app. ...

How do you set page level, page-SPECIFIC javascript events using a ContentPlaceHolder?

I previously asked how to include Javascript in my page when I split the page into a MasterPage and ContentPlaceHolder (.NET 2.0 app) The issue was I only wanted the javascript functions on THAT page so I couldn't just put them on the masterpage. Based on the answers, I will inlcude common fucntions through MasterPage and can put the p...