:: Forum >> Version 1 >>

XMLHTTPRequest sending XML BACK to the server

I've been playing around with the grid for about a month now, and it certainly is impressive. There's nothing else like it available. Tonight I started playing with the Active.XML.Table.request() method to get XML data generated by a PHP script on the server side. Everything works great! I'm thankful I don't have to roll my own Ajax scripts.

However I can't seem to find anyway to send XML back to the server, and a long long search of the forums hasn't turned up much. I can't even seem to find a way to get XML back from the grid. If I could do that I would use my own XMLHTTPRequest scripts to send that XML back to my PHP scripts. But even that seems pointless since ActiveWidgets has XMLHTTPRequest functionality already built into it.

So is there a) a way to get complete XML back from the grid without creating for loops to run through each column and row and generating the XML myself, and b) any way to use the already built in XMLHTTPRequest functionality to send the XML back to the server.

- Sean
Sean
Monday, February 6, 2006
Well, found the getXML() method. Still looking for a reasonable way to send the XML back to the server.

- Sean
Sean
Tuesday, February 7, 2006
I seemed to have answered all my own questions tonight. I've stumbled upon the setParameter() method, and using it with the request() method. The setParameter method seems to have some bugs, but I think there is a fix posted in another thread.
Sean
Tuesday, February 7, 2006
My personal preference is to use my own AJAX routines. It gives me more control over what I want to do. And I also use JS arrays being sent back, as it seems faster, and less bandwidth than sending XML back and forth to the server. For my use, the grid is constanly updating, so using the JS array cut the data transfer more than in half. Just a suggestion from my experience!
Tony (www.FriendsOfAW.com)
Tuesday, February 7, 2006



This topic is archived.

Back to support forum

Forum search