Connecting Tech Pros Worldwide Help | Site Map

ASP.NET Ajax Update Panel in ContentPlaceHolder

  #1  
Old February 12th, 2007, 04:35 PM
=?Utf-8?B?Qw==?=
Guest
 
Posts: n/a
Hi,
I have a ScriptManager and UpdatePanel as below

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">

<ContentTemplate>

<uc1:SecurityFloatingCharge runat="server" ID="uctrSecurityFloatingCharge" />

</ContentTemplate>

</asp:UpdatePanel>

</asp:Content>

When I run my page I get an error stating
"Sys.WebForms.PageRequestManagerParserErrorExcepti on : The message received
from the server could not be parsed. Common causes for this error are when
the response is modified by calls to Response.Write(), response filters,
httpModules, or server trace is enabled. Details: Error parsing near 'et>"



When I don't use a Master Page and have my aspx like below without a
ContentPlaceholder it works fine. Anyone know why?



<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">

<title>Partial-Page Update Error Handling Example</title>

</head>

<body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">

<ContentTemplate>

<uc1:SecurityFloatingCharge runat="server" ID="uctrSecurityFloatingCharge" />

</ContentTemplate>

</asp:UpdatePanel>

</div>

</form>

</body>

</html>


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Master Pages - Updating content without full page refresh? Rob answers 4 June 19th, 2007 09:15 AM
AJAX control in Master pages Shailesh Patel answers 3 November 13th, 2006 09:05 PM