Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Default' does not contain a definition for 'TextBox2' a
Message
 
 
À
25/09/2009 08:26:33
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Network:
Windows 2003 Server
Database:
MySQL
Application:
Web
Divers
Thread ID:
01426054
Message ID:
01426113
Vues:
24
Winan,

I see no textboxes in the code above, but I do see multiple placeholders that may contribute to the problem.

>
>< % @ Master Language="C#" MasterPageFile="~/ParentMaster.master" AutoEventWireup="false" CodeFile="OneColumnMaster.master.cs" Inherits="OneColumnMaster" %>
>
><asp:Content ID="Content1" ContentPlaceHolderID="contentMain" Runat="Server">
>    <asp:ScriptManager ID="ScriptManager1" runat="server" />
>    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
>    </asp:ContentPlaceHolder>
>    <asp:ContentPlaceHolder ID="oneColumnContent" runat="server">
>    
>    </asp:ContentPlaceHolder>
></asp:Content>
>
>< % @ Master Language="C#" AutoEventWireup="true" CodeFile="ParentMaster.master.cs" Inherits="ParentMaster" %>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
><html xmlns="http://www.w3.org/1999/xhtml">
><head runat="server">
>    <link href="App_Themes/Simple/Default.css" rel="stylesheet" type="text/css" />
>    <title>Parent Master Page</title>
>    <style type="text/css">
>        .style2
>        {
>            text-align: center;
>        }
>        .style3
>        {
>            font-size: xx-large;
>        }
>    </style>
></head>
><body>
>    <form id="form1" runat="server">
>    <div>
>        <div id="Header" class="style3" style="background-color: #C0C0C0">
>            Hello World</div>
>        <div id="body">
>            <hr />
>            <br />
>            <asp:ContentPlaceHolder id="contentMain" runat="server">
>            </asp:ContentPlaceHolder>
>            <br />
>            <hr />
>        </div>
>        <div id="Footer" class="style2" style="background-color: #C0C0C0">
>            @PAGE FOOTER
>        </div>
>    </div>
>    </form>
></body>
></html>
>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform