Categories | Question details Back To List | ||
dhtmlx Folder dynamic loading failing Hello I have a problem when using dhtmlx Folder dynamic loading: here's my code dhxF = new dhtmlxFolders("container"); dhxF.loadXMLString(document.getElementById("xml_list').value, "../dhtmlxFolders/codebase/types/style.xsl"); dhxF.enablePaging(4,true); //using dynamic loading and I use dhxF.goToPage(dhxF.getCurrentPage() + 1) // or - 1 to naivgate pages also, the navigation component on the page is created with another element on the page now here's the problem: when the number of item inside xml is multiple of 4 (so 4, 8, 12, etc) the page works fine, however, when the number of item is not multiple of 4, it gives error when reaching to the last page error: Incorrect XML and the bottom left of the IE shows doXPath(...) 0 null...error is this an known issue, or am I doing something wrong. If it is an issue how can I work around it?, (I disabled dynamic loading and it seems to work fine, but I would like to use dynamic loading instead) Thanks in advance Answer posted by Support on Dec 04, 2008 08:35 The most possible reasons of above error - incorrect response received from server - please check your server side code which generates responses for dyn. paging. ( you can use debug version of dhtmlxcommon.js to check response text - http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=2545&ssr=yes&s=dhtmlxcommon ) |