Click to See Complete Forum and Search --> : Error with linkbutton in Updatepanel with usercontrol


shail2k4
May 21st, 2009, 10:25 AM
Hi all,

I am facing a problem using linkbutton with updatepanel inside usercontrol.

I have placed a link button in an update panel to update data of a datagrid. DataGrid is also in the Update panel.

I have placed this updatepanel in a User Control which is dynamically loaded on a page.

As i try to click the linkbutton i am getting following 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.
Details: Error parsing near '

<!DOCTYPE html P'.

If i use Button or ImageButton instead of LinkButton it works absolutely fine.

Thanx for any kind of help
Regards,
shail2k4