gpinfotech
asked on
Parse error while loading page
Hi all,
I am developing Master page enabled Ajax controls used web forms
I am getting following error when redirecting from one page to other.
Sys.Webforms.PageRequestMa nagerParse rerrorExce ption
Find the attached document for Aspx and code i have used.
Regards,
Narendra
Error.docx
I am developing Master page enabled Ajax controls used web forms
I am getting following error when redirecting from one page to other.
Sys.Webforms.PageRequestMa
Find the attached document for Aspx and code i have used.
Regards,
Narendra
Error.docx
Following solutions from comments area of above links are important:
# re: How to fix Sys.WebForms.PageRequestMa nagerParse rErrorExce ption in AJAX 1.0
Wednesday, January 27, 2010 3:50 AM by Jan Maat
a possible solution: Disable output caching for pages. I had output caching enabled for .ASCX files. That causes the problem.
# re: How to fix Sys.WebForms.PageRequestMa nagerParse rErrorExce ption in AJAX 1.0
Wednesday, January 27, 2010 10:09 AM by Adriano
I resolved this setting EnableEventValidation="fal se" .
# re: How to fix Sys.WebForms.PageRequestMa nagerParse rErrorExce ption in AJAX 1.0
Monday, February 08, 2010 4:28 AM by Chetan Patel
Sys.WebForms.PageRequestMa nagerParse rErrorExce ption: 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 '
<!DOCTYPE html PUB'.
# re: How to fix Sys.WebForms.PageRequestMa nagerParse rErrorExce ption in AJAX 1.0
Friday, August 27, 2010 8:31 AM by Sharanya
Hi,
The solution mentioned above didn't work for me. I tried EnablePartialRendering="fa lse" in scriptmanager, and this worked for me
# re: How to fix Sys.WebForms.PageRequestMa
Wednesday, January 27, 2010 3:50 AM by Jan Maat
a possible solution: Disable output caching for pages. I had output caching enabled for .ASCX files. That causes the problem.
# re: How to fix Sys.WebForms.PageRequestMa
Wednesday, January 27, 2010 10:09 AM by Adriano
I resolved this setting EnableEventValidation="fal
# re: How to fix Sys.WebForms.PageRequestMa
Monday, February 08, 2010 4:28 AM by Chetan Patel
Sys.WebForms.PageRequestMa
Details: Error parsing near '
<!DOCTYPE html PUB'.
# re: How to fix Sys.WebForms.PageRequestMa
Friday, August 27, 2010 8:31 AM by Sharanya
Hi,
The solution mentioned above didn't work for me. I tried EnablePartialRendering="fa
ASKER
Hi all, thank yo for reply, i have tried with Output caching and EnableEventValidation="fal se", but still getting errror and
I have also tried with EnablePartialRendering="fa lse", here problem solved but page is getting refresh(appearing and not appearing) for every post back
Give me any solution by checking my attached file with code
Regards,
Narendra.S
I have also tried with EnablePartialRendering="fa
Give me any solution by checking my attached file with code
Regards,
Narendra.S
Now this is another problem :)
Hi
try to do the following in ur code
set EnablePartialRendering="tr ue" as here
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="tr ue" />
and set UpdateMode="Conditional"
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
try to do the following in ur code
set EnablePartialRendering="tr
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="tr
and set UpdateMode="Conditional"
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
ASKER
Hi
Thank you for your reply,
I have applied EnablePartialRendering="tr ue" for Scriptmanager and
UpdateMode="Conditional" for Update panel, but still it is showing same error
Sys.Webforms.PageRequestMa nagerParse rerrorExce ption
Any other solutions
Regards,
Narendra
Thank you for your reply,
I have applied EnablePartialRendering="tr
UpdateMode="Conditional" for Update panel, but still it is showing same error
Sys.Webforms.PageRequestMa
Any other solutions
Regards,
Narendra
ASKER
Hi all, I am using Menu and Multiview and Views in Multiview with Master page.
I have tested without Multiview and menu control. I am able to redirect from one page to other page.
I am getting this error when i used Menu control and Multivew and View, check my attached file once. I am getting this error when i am redirecting from one page to other page only
Any solution.
Regards,
Narendra
Error.docx
I have tested without Multiview and menu control. I am able to redirect from one page to other page.
I am getting this error when i used Menu control and Multivew and View, check my attached file once. I am getting this error when i am redirecting from one page to other page only
Any solution.
Regards,
Narendra
Error.docx
make sure trace is set to false in ur page
also include all your controls inside the update panel
also use Response.redirect instead of server.transfer
also try to put
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
</Triggers>
at the begining
also include all your controls inside the update panel
also use Response.redirect instead of server.transfer
also try to put
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
</Triggers>
at the begining
ASKER
Hi,thank you for reply,
I have applied all the above things,
But still getting same error
Sys.Webforms.PageRequestMa nagerParse rerrorExce ption
Regards,
Narendra
I have applied all the above things,
But still getting same error
Sys.Webforms.PageRequestMa
Regards,
Narendra
try to use postbacktrigger
not asyn...
change
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
to
<asp:PostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:PostBackTrigger ControlID="btn_Update" EventName="Click" />
not asyn...
change
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="btn_Update" EventName="Click" />
to
<asp:PostBackTrigger ControlID="btn_Update" EventName="Click" />
<asp:PostBackTrigger ControlID="btn_Update" EventName="Click" />
ASKER
I have applied PostBackTrigger also, still getting same error
Regards,
Narendra
Regards,
Narendra
Check the session timeout property in the web.config.
Make sure that you are not nullifying(Remove/Abondon) the session key in 10-15 minutes in case if you are using Session in your page.
also remove the 3600 from ur script manger
also
My only idea would to be change your button field to a hyperlink, and if you're currently passing a command argument, pass it in the querystring.
Make sure that you are not nullifying(Remove/Abondon)
also remove the 3600 from ur script manger
also
My only idea would to be change your button field to a hyperlink, and if you're currently passing a command argument, pass it in the querystring.
ASKER
Hi all, I have get the solution by redirecting from grid view , template field
here is the code i used:
<asp:TemplateField HeaderText="EDIT">
<ItemTemplate>
<a href='<%# "Pal_EditSyllabus.aspx?Syl labusid=" + Eval("Syllabusid")%>'>
<img src ="images/edit-icon.gif" alt ="Edit" />
</ItemTemplate>
</asp:TemplateField>
Regards,
Narendra
here is the code i used:
<asp:TemplateField HeaderText="EDIT">
<ItemTemplate>
<a href='<%# "Pal_EditSyllabus.aspx?Syl
<img src ="images/edit-icon.gif" alt ="Edit" />
</ItemTemplate>
</asp:TemplateField>
Regards,
Narendra
great can u till us what was causing the problem
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i got the solution
http://weblogs.asp.net/albertpascual/archive/2008/04/22/how-to-fix-sys-webforms-pagerequestmanagerparsererrorexception-in-ajax-1-0.aspx
http://chamilaw.blogspot.com/2011/04/syswebformspagerequestmanagerparsererro.html
http://msdn.microsoft.com/en-us/library/bb310803.aspx