Hi,
I am implementing webmail in to my application by referring http://demos.telerik.com/aspnet-ajax/webmail/
From above example is showing basic idea of webmail. I have implemented other functionalities to my screen like showing attachments.
but when click on attachment , throwing an error : " Microsoft JScript runtime 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. "
From above link, showing email details in the detailsview in the 3rd pane. here i am showing attachments in the radgrid above the details view ( refer attachment "email1" ).
Even I disable the ajax while downloading , still the same problem.
Download the file is working when I commented below lines "
But If i comment above lines then attachments are not refreshing , i.e not showing based on selection. we should remain keep this lines as uncommented.
please help me on this.. how to resolve this error..
Thanks in advance..
I am implementing webmail in to my application by referring http://demos.telerik.com/aspnet-ajax/webmail/
From above example is showing basic idea of webmail. I have implemented other functionalities to my screen like showing attachments.
but when click on attachment , throwing an error : " Microsoft JScript runtime 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. "
From above link, showing email details in the detailsview in the 3rd pane. here i am showing attachments in the radgrid above the details view ( refer attachment "email1" ).
Even I disable the ajax while downloading , still the same problem.
function gridCommand(sender, args) {
if (args.get_commandName() == "DownloadAttachment") {
ajaxManager.set_enableAJAX(false);
setTimeout(function() {
ajaxManager.set_enableAJAX(true);
}, 0);
}
}
Download the file is working when I commented below lines "
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGridAttachment"
/>
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager1"
OnAjaxRequest
=
"RadAjaxManager1_AjaxRequest"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadGrid1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"DetailsView1"
/>
<%-- <
telerik:AjaxUpdatedControl
ControlID
=
"RadGridAttachment"
/>--%>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadTreeView1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadToolBar1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"DetailsView1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManager1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadGrid1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"DetailsView1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<%-- <
telerik:AjaxUpdatedControl
ControlID
=
"RadGridAttachment"
/>--%>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadNotification1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
But If i comment above lines then attachments are not refreshing , i.e not showing based on selection. we should remain keep this lines as uncommented.
please help me on this.. how to resolve this error..
Thanks in advance..