Call Javascript method from .ashx file
Posted
by
Prasad Jadhav
on Stack Overflow
See other posts from Stack Overflow
or by Prasad Jadhav
Published on 2012-10-17T10:59:14Z
Indexed on
2012/10/17
11:00 UTC
Read the original article
Hit count: 251
From my previous question(Create json using JavaScriptSerializer), In .ashx
file I am printing the json object using:
context.Response.ContentType = "application/json";
context.Response.Write(json);
I am calling this .ashx
file from default.aspx which has some javascript function inside its <head>
tag.
My question is :
How will I be able to call the javascript function from .ashx file after context.Response.Write(json);
?
© Stack Overflow or respective owner