I am using a Master Page and added jQuery script references in the HEAD section. From the content Form, whenever I try to execute Response.Write, I frequently get this error:
Sys.WebForms.PageRequestManagerParserException
Though I have found a way to resolve this issue for other sections of my code, I am still struggling when I have to fire jQuery code from code-behind .cs file.
I am using this way:
Response.Write("<script type='text/javascript' language='javascript'>$(function(){$('#dialog:ui-dialog').dialog()};</script>");
Is there any way to bypass this nasty error and use Response.Write?