I am getting following error in asp.net webpage
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.
The scenario of my page is as following
When I click a button on the aspx page a popup appears, but further when I click button at user control responsible for population of grid / click on the radio button to fill the dropdown list in both case the above-mentioned error appears.
Add PostBackTrigger in UpdatePanel with the ControlID
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="PostbackButtonName" />
</Triggers>
Had to register the button for post back with the ScriptManager:
protected void Page_Load(object sender, EventArgs e)
{
System.Web.UI.ScriptManager.GetCurrent(this).RegisterPostBackControl(btnExport);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With