X
X
I am trying to invoke a javascript function from IHttpHandler using
Context.Response.Write. The function is present in .js file and is not
being invoked. The following snippet is called from ProcessRequest
method of the IHttpHandler.
Code snippet:
context.Response.Write("<script>window.parent.frames[1].location='../Update.htm';</script>");
context.Response.Write("<script language='javascript'>\r\n");
context.Response.Write(string.Format("UpdateNode('{0}', '{1}',
'true');", _retVal, Id));
context.Response.Write("</script>");
Thanks
Context.Response.Write. The function is present in .js file and is not
being invoked. The following snippet is called from ProcessRequest
method of the IHttpHandler.
Code snippet:
context.Response.Write("<script>window.parent.frames[1].location='../Update.htm';</script>");
context.Response.Write("<script language='javascript'>\r\n");
context.Response.Write(string.Format("UpdateNode('{0}', '{1}',
'true');", _retVal, Id));
context.Response.Write("</script>");
Thanks