:: Forum >>

Object cannot be created in this context

Hi there,

I have an AJAX process that returns an XML string, which I'd like to pass directly to the grid. Here's my code:

var table = new Active.XML.Table;
var obj = new Active.Controls.Grid;
obj.setProperty("column/count", 5);
obj.setModel("data", table);

When I run this code, I get an exception that says:

[Exception... "Object cannot be created in this context" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://resortscope.com/js/portal/ActiveWidgets/runtime/lib/grid.js Line: 23"]

Any hints?
Erich Beyrent
Tuesday, January 30, 2007

This topic is archived.

Back to support forum

Forum search