Display Client Alert Messsage

Thread is closed for posting
2 posts, 0 answers
  1. Gaurav Gupta
    Gaurav Gupta avatar
    4 posts
    Member since:
    Oct 2009

    Posted 11 May 2010 Link to this post

    I have placed RadScriptManager on aspx page.
    On click of a button i want to display alert message on client side.
    I am writing following code:
    Response.Write("<script language='JavaScript'>alert('"client side message "');</script>");
    This is giving me following error:

    Sys.WebForms.PageRequestManagerParserErrorException. the message received from server could not be parsed. Common causes for this error are when the response is modified by call to response.write()...

    Please help.
  2. Vinkel
    Vinkel avatar
    36 posts
    Member since:
    Apr 2010

    Posted 11 May 2010 Link to this post

    Man, I am not think RadScriptManager is the problemo here. Try to run your alert without it with asp ScriptManagar and you will get the same boom message.

Back to Top