How do I use the XML HTTP Request Object in ASP.NET 2.0 ?
Can I use it without Ajax?
Printable View
How do I use the XML HTTP Request Object in ASP.NET 2.0 ?
Can I use it without Ajax?
Yes. you can use the XML HTTP Request without Ajax.
Pls Refer this MSDN
I think you mean HttpWebRequest. The XmlHttpRequest IS AJAX. AJAX is just a fancy name for code involving XmlHttpRequest; XmlHttpRequest is a JavaScript thing.
So, what I mean is:
In your codebehind, you'd use HttpWebRequest and HttpWebResponse.
In your client-side code, you'd use XmlHttpRequest.