3.2.0

XML- Using an aspx file as the url for the xml

Hello,

I wanted to know if i can give as a url path an aspx file.
The aspx file writes the xml from the server side.

obj.setUrl("myXml.aspx?xmltype=1");

Now, if i try it, then nothing happens. I don't get an error but no information is displayed althouhg the aspx create a valid xml file on the client side.

Joni

Joni
October 22,
Open the URL in IE to check that the XML is valid. Assign your own response() callback to see if you are getting the file into the datasource -

table.setURL(...);
table.response = function(data){alert(data)};
table.request();
Alex (ActiveWidgets)
October 22,
Hi,

After using what you suggested i found out that i should have waited with the question becuase i found my problem. When i run my applicdation from the web server it works ok. The aspx generates the correct xml according to the 'xmltype' i send and the grid shows the correct information.
ThanX for the tip...
Joni
October 22,

This topic is archived.

See also:


Back to support forum