Following code did it for me. The post at
http://www.activewidgets.com/javascript.forum.10863.5/alex-please-look-xmlhttp-js.html pointed me in the proper direction.
<html>
<head>
<title>WebForm1</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name=vs_defaultClientScript content="JavaScript">
<meta name=vs_targetSchema content="
http://schemas.microsoft.com/intellisense/ie5">
<script src="ActiveWidgets/runtime/lib/aw.js">
</script>
<link href="ActiveWidgets/runtime/styles/xp/aw.css" rel="stylesheet"></link>
</head>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<script>
var table=new AW.XML.Table;
table.setURL("XmlSource.asmx/getCompanies");
table.setRequestMethod("POST");
table.request();
table.response = function(text)
{
var obj = new AW.UI.Grid;
table.setXML(text.xml);
obj.setColumnCount(5);
obj.setRowCount(table.getCount());
obj.setCellModel(table);
parentDIV.innerHTML = obj;
}
</script>
<div id="parentDIV"></div>
</form>
</body>
</html>
This topic is archived.