Error while submit the page inside the UpdatePanel_AJAX

Jan 30 2020 9:33 PM
Dear Sir,
 
 I have a submit button inside the  AJAX updatepanel control. When I try to submit; the following error is coming but my records are being inserted.
 
"JavaScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed."
 
So, I searched a lot and finally I got the solution; inside the Page_Load, I used,
ScriptManager.GetCurrent(Page).RegisterPostBackControl(this.btn_Submit1);  it works fine but in this case post back of page occurs.... which i do not want.
 
Please provide me the solution.
 
Thanks and Regards
Debajtyoti Mishra
9 7 7 7 4 5 2 4 6 1 

Answers (3)