I am working in the generic handler file
Can anybody help me working with responsexml
Hi,
responseXML is what you use to manipulate the response from the server on the client. It's not available on server side directly.
But you have full control on what will be returned to the client side in the ProcessRequest method. For example, the following handler returns a string "Hello World" which is the content of responseXML.
<%@. WebHandler Language="C#" Class="Handler" %
using System;
using System.Web;
public class Handler : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
context.Response.Write("Hello World");
}
public bool IsReusable {
get {
return false;
}
}
}
No comments:
Post a Comment