Note that there are some explanatory texts on larger screens.

plurals
  1. POThe MasterPage's behind code is not called
    primarykey
    data
    text
    <p>I just deployed my site in local with IIS manager, but for some reason when I load the page Default.aspx all C#/ASP.NET codes from MasterPage is not loaded. Even though codes from the ContentPlaceHolder do show properly.</p> <p>For exemple at the place where there is a label, when I look at the page's source code, there is nothing.</p> <p>Here is a portion of the code:</p> <pre><code> &lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %&gt; &lt;!DOCTYPE html&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head id="Head1" runat="server"&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;&lt;/title&gt; &lt;asp:ContentPlaceHolder ID="head" runat="server"&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;link href="styles/Normalize.css" rel="stylesheet" /&gt; &lt;link rel="stylesheet" href="font-awesome/css/font-awesome.min.css" /&gt; &lt;!-- pour la dynamicite --&gt; &lt;script type="text/javascript" src="js/jquery-1.10.1.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="tablecloth/tablecloth.js"&gt;&lt;/script&gt; &lt;/head&gt; </code></pre> <p></p> <pre><code>&lt;div id="page-wrap"&gt; &lt;header&gt; &lt;div id="wrapper"&gt; &lt;div id="carousel_wrapper"&gt; &lt;div id="carousel" style="height: 260px;"&gt; &lt;asp:Literal ID="litCarousel1" runat="server" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;nav id="nav-normal"&gt; &lt;ul style="padding-left: 0px;"&gt; &lt;li&gt;&lt;a href="Default.aspx"&gt;&lt;i class="icon-home icon-large"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Accueil&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="Nouscontacter.aspx"&gt;&lt;i class="icon-envelope icon-large"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Nous Contacter&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="semaineprochaine.aspx"&gt;&lt;i class="icon-facetime-video icon-large"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Semaine Prochaine&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="macarte57.aspx"&gt;&lt;i class="icon-credit-card icon-large"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Ma Carte&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; &lt;/header&gt; &lt;asp:Literal ID="litNouveaute" runat="server" /&gt; ..... &lt;form id="form1" runat="server"&gt; &lt;div&gt; &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;/div&gt; &lt;/form ...... </code></pre> <p>After loading the page, at the place where there is litNouveaute, there is nothing.</p> <p>Is there a way to solve this please ?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload