I have created a simple searchbox that utilizes RadAjaxManager and RadScriptManager.
When a user enters certain search criterias and clicks the search button, the code behind will perform some checks, and if necessary show a popup with a question using RadWindow (with RadWindowManager).
The RadWindow consists of text that I need to load from the database.
I've tried both setting the text in code-behond by using the RadWindow.ContentContainer.FindControl("myLabel") and setting the text property, and by using <%# GetTextProperty %> in the template itself.
But both lead to this error shown in Internet Explorer 8 (with and without compatibility view enabled):
If I remove my RadAjaxManagerProxy from the page, no error is given, and RadWindow loads just fine.
In FireFox 3.6 it works just fine with and without Ajax enabled.
Here's a snippet of the RadWindow-declaration:
Does anyone have any ideas what could be causing this?
Disabling Ajax is an option, but the customer will not be very happy with it...
Btw, I'm using v2009.3.1314.35 of Telerik
(since this is a part of a large solution, upgrading the Telerik components to the latest version is a big task)
When a user enters certain search criterias and clicks the search button, the code behind will perform some checks, and if necessary show a popup with a question using RadWindow (with RadWindowManager).
The RadWindow consists of text that I need to load from the database.
I've tried both setting the text in code-behond by using the RadWindow.ContentContainer.FindControl("myLabel") and setting the text property, and by using <%# GetTextProperty %> in the template itself.
But both lead to this error shown in Internet Explorer 8 (with and without compatibility view enabled):
Line: 6
Error: 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 ' <
label
><font size='.
If I remove my RadAjaxManagerProxy from the page, no error is given, and RadWindow loads just fine.
In FireFox 3.6 it works just fine with and without Ajax enabled.
Here's a snippet of the RadWindow-declaration:
<
telerik:RadWindow
runat
=
"server"
ID
=
"rwPPRTQuestion"
Modal
=
"true"
KeepInScreenBounds
=
"true"
Width
=
"250px"
VisibleTitlebar
=
"false"
Behaviors
=
"None"
InitialBehaviors
=
"None"
VisibleStatusbar
=
"false"
>
<
ContentTemplate
>
<
div
id
=
"frontpagepop"
>
<
label
><
asp:Literal
runat
=
"server"
ID
=
"litRTInfo"
Text='<%# InfoChooseRT %>'></
asp:Literal
></
label
>
<
br
/>
<
label
><
asp:Literal
runat
=
"server"
ID
=
"litRTQuestion"
Text='<%# QuestionChooseRT %>'></
asp:Literal
></
label
>
<
asp:RadioButtonList
runat
=
"server"
ID
=
"rblRTYesNo"
RepeatDirection
=
"Horizontal"
>
<
asp:ListItem
Text="<%$ Resources: EPiServer, content.booking.common.yes %>" Value="1"></
asp:ListItem
>
<
asp:ListItem
Text="<%$ Resources: EPiServer, content.booking.common.no %>" Value="0" Selected="True"></
asp:ListItem
>
</
asp:RadioButtonList
>
<
div
class
=
"buttons"
runat
=
"server"
id
=
"div1"
>
<
div
class
=
"buttonpop"
>
<
asp:LinkButton
runat
=
"server"
ID
=
"LinkButton1"
OnClick
=
"lbContinue_Click"
><
asp:Literal
ID
=
"Literal1"
runat
=
"server"
Text="<%$ Resources: EPiServer, content.booking.continue %>"></
asp:Literal
> ยป</
asp:LinkButton
>
</
div
>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
Does anyone have any ideas what could be causing this?
Disabling Ajax is an option, but the customer will not be very happy with it...
Btw, I'm using v2009.3.1314.35 of Telerik
(since this is a part of a large solution, upgrading the Telerik components to the latest version is a big task)