Categories | Question details Back To List | ||
DataProcessor is not defined i'm allways getting "DataProcessor is not defined" error message from browser and dont figure out why. i'm using: DataProcessor v.1.0 build 71114 <script type="text/javascript" src="lib/dhtmlxGrid/codebase/dhtmlxcommon.js"></script> <script type="text/javascript" src="lib/dhtmlxGrid/codebase/dhtmlxgrid.js"></script> <script type="text/javascript"src="lib/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script> ......... <script src="lib/dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js" type="text/javascript"></script> i included all needed scripts and checked paths several time and i load the grid with the grid i posted below. loading the grid works fine. but the "new data processor is not created" and therefore update.aspx is not called from the script <script type="text/javascript"> mygrid2 = new dhtmlXGridObject('gridbox2'); mygrid2.setImagePath("lib/dhtmlxGrid/codebase/imgs/"); mygrid2.setSkin("galaxy"); mygrid2.init(); mygrid2.loadXML("xml/grid.aspx?ViewId=1"); myDataProcessor1 = new DataProcessor("xml/update.aspx?ViewID=1"); myDataProcessor1.enableDataNames(true); myDataProcessor1.setUpdateMode("cell"); myDataProcessor1.setTransactionMode("GET"); myDataProcessor1.init(mygrid2); </script> would be realy cool if u have any suggestsions for me thx Answer posted by Support on May 21, 2008 06:35 The correct command would be myDataProcessor1 = new dataProcessor("xml/update.aspx?ViewID=1"); Javascript is case sensitive language and correct name of object started from lowercase letter Answer posted by Adrian Engel on May 21, 2008 08:10 yahhh great i think i have to thank VS and Intellisence for this D thxn and sorry for that shitty question |