loading grid from different location

Hi,



I’m using Dhtmlx grid in my Jsp, when I’m loading the grid from an xml file which is stored in the same folder in which my jsp resides, it is loading fine, but when i put the same xml file in any other folder such as “C:\GridFiles\data.xml” and set this path it is not getting loaded.Its givinmg me “Permission Denied” javascript error. Please tell me what should i do as i don’t want to put xml files in the same folder.



Thanks in Advance,

Namrta

While you are loading all files from the same domain - there must not be problems.
But if you loading page by http and file by absolute path, or page and file from different http domains - browser will block such operation.


But I’m getting this error. code which I’m using to load the grid is :
grid.load(“c:/GridFiles/data.xml”);
Is there any js to include seperately for this functionality.



 



 

But I’m getting this error. code which I’m using to load the grid is :
By which url you are loading page with grid’s code.
If you are using something similar to localhost/some.html - the path to XML must be an HTTP url as well. It not possible to load page by http like url and xml by direct path .