| Issue 465: | Load error (pars error) message | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. in C#.NET, i wrote a WCF service to retrieve the data from database and build tree node 2. in aspx page, i am calling wcf service method using dyna tree init method 3. in my local, it is working fine but when i deploy in web server, getting a message like load error(parse error) What version of the dynatree and jQuery are you using? On what operating system and browser? windows and IE9 What DOCTYPE declaration are you using? Please provide any additional information below.
Feb 25, 2014
Hi, I am facing similar issue in IE, Dynatree code works fine with Firefox and Chrome but not in IE(all Versions), Steps to reproduce the problem, 1. in C#.NET, i wrote a WCF service to retrieve the data from database and build tree node 2. in aspx page, i am calling wcf service method using dyna tree init method 3. in my local also, it is not working and I get message like "load error(error)" 4. OS:Windows, Browser: IE-10, DynaTree Version: jquery.dynatree-1.2.5-all Please Reply ASAP.
Feb 25, 2014
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Feb 25, 2014
Actually My WCF Service is Not Getting Hit when I use IE, But works In Chrome and Firefox
Here is the Code that I am using,
$(function () {
// Attach the dynatree widget to an existing <div id="tree"> element
// and pass the tree options as an argument to the dynatree() function:
$.support.cors = true;
$("#tree").dynatree({
title: "Lazy loading sample",
fx: { height: "toggle", duration: 200 },
autoFocus: false, // Set focus to first child, when expanding or lazy-loading.
// In real life we would call a URL on the server like this:
// initAjax: {
// url: "/getTopLevelNodesAsJson",
// data: { mode: "funnyMode" }
// },
// .. but here we use a local file instead:
initAjax: {
url: "http://localhost:8733/Design_Time_Addresses/WcfServiceLibraryForActiveX/FileUpload/DC_VU_UploadGET
dataType: "json",
//cache: false,
error: function (node, XMLHttpRequest, textStatus, errorThrown) {
alert(errorThrown);
}
},
onPostInit: function (isReloading, isError) {
//error(isReloading);
},
onActivate: function (node) {
//$("#echoActive").text("" + node + " (" + node.getKeyPath() + ")");
alert(node.getKeyPath());
}
});
});
Please Reply......
May 1, 2014
maybe because you are *not* setting //cache: false, ?
May 10, 2014
Assuming that solvent it
Status:
Done
|
Labels: Milestone-Release1.2.6