This is a migrated thread and some comments may be shown as answers.

Display Client Alert Messsage

1 Answer 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gaurav Gupta
Top achievements
Rank 1
Gaurav Gupta asked on 11 May 2010, 12:08 PM
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.

1 Answer, 1 is accepted

Sort by
0
Vinkel
Top achievements
Rank 1
answered on 11 May 2010, 05:54 PM
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.

-Jay
Tags
General Discussions
Asked by
Gaurav Gupta
Top achievements
Rank 1
Answers by
Vinkel
Top achievements
Rank 1
Share this question
or