User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Mon, 10 Oct 2011 16:11:46 UTC
Message: Sys.WebForms.PageRequestManagerParserErrorException: 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 '�'.
Line: 6
Char: 84093
Code: 0
URI: http://[website url removed]/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ae71d0a15-7471-4384-9905-78bdf2047cba%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.1.413.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3abd09f19b-b595-4ea4-8ab8-449a745bc83c%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3af46195d3%3a19620875%3a874f8ea2%3a490a9d4e%3abd8f85e4%3ae330518b%3a1e771326%3ac8618e41%3aaa288e2d%3a3f6e8f3f%3a8e6f0d33%3a6a6d718d
No code changes have been made to the page and it was working fine under .Net 3.5. We are on version 2011.1.413.35 of the Telerik controls.
EDIT:
I tried serveral different things to get this to work with little success. As a last attempt I upgraded to the latest version of the Telerik controls, 2011.2.915.40. When I upgraded I noticed that it was referencing the 3.5 framework version of the dll instead of the 4.0 version. I manually changed this and retested - it now works again. Unfortunately, I have to regression test my site due to the Telerik upgrade but we are already in the process of doing this with the 4.0 migration, so it could be worse.
<telerik:GridCalculatedColumn HeaderText="Total" UniqueName="PriceExtendedColumn" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" FooterStyle-HorizontalAlign="Right" DataFields="Quantity, Price" DataType="System.Decimal" Aggregate="Custom" FooterText=" "></telerik:GridCalculatedColumn>
[InvalidOperationException: Script controls may not be registered before PreRender.]
System.Web.UI.ScriptControlManager.RegisterScriptControl(TScriptControl scriptControl) +349529
System.Web.UI.ScriptManager.RegisterScriptControl(TScriptControl scriptControl) +66
Telerik.Web.UI.RadCompositeDataBoundControl.RegisterScriptControl() +43
Telerik.Web.UI.RadCompositeDataBoundControl.ControlPreRender() +15
Telerik.Web.UI.RadGrid.ControlPreRender() +51
Telerik.Web.UI.RadCompositeDataBoundControl.OnPreRender(EventArgs e) +22
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
<telerik:RadListBox ID="lstSourceCity" runat="server" AllowTransfer="true" EnableDragAndDrop="false"
Height="205px" TransferMode="Move" TransferToID="lstDestinationCity" Width="350px"
SelectionMode="Multiple" CssClass="Align" OnItemDataBound="lstSourceCity_ItemDataBound" OnTransferred="lstSourceCity_Transferred" AutoPostBackOnTransfer="true">
<ItemTemplate>
<asp:Label ID="lblCity" runat="server" Text='<%# Eval("CityName") %>'></asp:Label>
</ItemTemplate>
</telerik:RadListBox>
<telerik:RadListBox ID="lstDestinationCity" runat="server" Height="205px" Width="350px"
CssClass="Align" OnItemDataBound="lstDestinationCity_ItemDataBound">
<ItemTemplate>
<asp:CheckBox ID="chkIsFeatured" runat="server" />
<asp:Label ID="lblDestCity" runat="server" Text='<%# Eval("CityName") %>'></asp:Label>
</ItemTemplate>
</telerik:RadListBox>
protected void lstSourceCity_Transferred(object sender, RadListBoxTransferredEventArgs e)
{
foreach (RadListBoxItem listBoxItem in e.Items)
{
listBoxItem.DataBind();
}
I am searching the soluntion for last couple of day but did not find exact solution.