Last post Nov 01, 2013 12:17 AM by chetan.sarode
None
0 Points
2 Posts
Oct 31, 2013 04:30 AM|arikkm|LINK
Hi i have a problem the same as describe here:
http://forums.asp.net/t/1116193.aspx?MasterPage+ContentPlaceholder+inside+Update+panel
the code that attached at the reply is actually not producing the error.
i'm attaching the code with the error so anyone can tell me why in my case it produce an error (actually a warrnings)
CODE:
ASPX PAGE WITH THAT MASTER:
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="TestMaster2.aspx.cs" Inherits="TestMaster2" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" Runat="Server"> </asp:Content> <asp:Content ID="c1" ContentPlaceHolderID="ContentPlaceHolder10" Runat="Server"> </asp:Content> <asp:Content ID="c2" ContentPlaceHolderID="ContentPlaceHolder11" Runat="Server"> <asp:DropDownList ID="dd1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dd1_SelectedIndexChanged" > </asp:DropDownList> </asp:Content>
MASTER PAGE:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage2.master.cs" Inherits="MasterPage2" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> <!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 id="Head1" runat="server"> <title> </title> <asp:ContentPlaceHolder ID="ContentPlaceHolderHead" runat="server" /> </head> <body> <form id="form1" runat="server"> <cc1:ToolkitScriptManager ID="ScriptManager1" runat="server"> </cc1:ToolkitScriptManager> <table > <tr> <td> <div dir="rtl" style="margin: 5px 10px 0px 20px;"> <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"> <ProgressTemplate> <cc1:AlwaysVisibleControlExtender ID="AlwaysVisibleControlExtender1" runat="server" HorizontalSide="Center" VerticalSide="Middle" TargetControlID="divLoading"> </cc1:AlwaysVisibleControlExtender> <div runat="server" id="divLoading" class="divLoading"> <img src="../Images/loading.gif" alt="Loading..." /><br /> טוען... </div> </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> <cc1:TabContainer ID="TabContainer1" runat="server" OnActiveTabChanged="TabContainer1_ActiveTabChanged" AutoPostBack="true" EnableViewState="true" Width="100%" ActiveTabIndex="1"> <cc1:TabPanel ID="TabPanel10" runat="server" HeaderText="report1"> <ContentTemplate> <asp:Panel ID="TabContent10" runat="server"> <asp:ContentPlaceHolder ID="ContentPlaceHolder10" runat="server" /> </asp:Panel> </ContentTemplate> </cc1:TabPanel> <cc1:TabPanel ID="TabPanel11" runat="server" HeaderText="deals"> <ContentTemplate> <asp:Panel ID="TabContent11" runat="server"> <asp:ContentPlaceHolder ID="ContentPlaceHolder11" runat="server" /> </asp:Panel> </ContentTemplate> </cc1:TabPanel> </cc1:TabContainer> </ContentTemplate> </asp:UpdatePanel> </div> </td> </tr> </table> </form> </body> </html>
All-Star
48393 Points
12161 Posts
Nov 01, 2013 12:17 AM|chetan.sarode|LINK
http://forums.asp.net/t/1548210.aspx
http://dotnetslackers.com/Community/blogs/bmains/archive/2007/01/08/asp_3A00_XXXXX-is-not-a-known-element.--This-can-occur-if-there-is-a-compilation-error-in-the-web-site_2E00_.aspx
None
0 Points
2 Posts
MasterPage ContentPlaceholder inside Update panel
Oct 31, 2013 04:30 AM|arikkm|LINK
Hi i have a problem the same as describe here:
http://forums.asp.net/t/1116193.aspx?MasterPage+ContentPlaceholder+inside+Update+panel
the code that attached at the reply is actually not producing the error.
i'm attaching the code with the error so anyone can tell me why in my case it produce an error (actually a warrnings)
CODE:
ASPX PAGE WITH THAT MASTER:
MASTER PAGE:
All-Star
48393 Points
12161 Posts
Re: MasterPage ContentPlaceholder inside Update panel
Nov 01, 2013 12:17 AM|chetan.sarode|LINK
http://forums.asp.net/t/1548210.aspx
http://dotnetslackers.com/Community/blogs/bmains/archive/2007/01/08/asp_3A00_XXXXX-is-not-a-known-element.--This-can-occur-if-there-is-a-compilation-error-in-the-web-site_2E00_.aspx
Team Lead, Product Development
Approva Systems Pvt Ltd, Pune, India.