Home All Groups Group Topic Archive Search About

using XMLHTTPRequest object without JavaScript--------Plz help

Author
5 Apr 2005 12:51 PM
Shafia
Hi,
Can we instantiate and utilize an XMLHttpRequest object in C# code without
scripting. Please let me know of the related namespace.  I need to populate
my GridView object from the xmlHttpRequest     responseXml. Javascript wont
allow me to access asp server controls.

Thanks in advance,
Shafia

Author
5 Apr 2005 1:07 PM
Brock Allen
Check out the HttpWebRequest and HttpWebResponse classes.

-Brock
DevelopMentor
http://staff.develop.com/ballen



Show quoteHide quote
> Hi,
> Can we instantiate and utilize an XMLHttpRequest object in C# code
> without
> scripting. Please let me know of the related namespace.  I need to
> populate
> my GridView object from the xmlHttpRequest     responseXml. Javascript
> wont
> allow me to access asp server controls.
> Thanks in advance,
> Shafia