webanimals / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

Load error (pars error) message #465

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by srinivas...@gmail.com on 18 Dec 2013 at 12:04

GoogleCodeExporter commented 9 years ago
Sorry, but we need much more information to help, like the exact error logs 
etc..

Original comment by moo...@wwwendt.de on 18 Dec 2013 at 6:45

GoogleCodeExporter commented 9 years ago
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.

Original comment by kiritsha...@gmail.com on 26 Feb 2014 at 6:23

Attachments:

GoogleCodeExporter commented 9 years ago
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Original comment by kiritsha...@gmail.com on 26 Feb 2014 at 6:33

GoogleCodeExporter commented 9 years ago
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......

Original comment by kiritsha...@gmail.com on 26 Feb 2014 at 6:40

GoogleCodeExporter commented 9 years ago
maybe because you are *not* setting 
//cache: false,
?

Original comment by moo...@wwwendt.de on 1 May 2014 at 4:54

GoogleCodeExporter commented 9 years ago
Assuming that solvent it

Original comment by moo...@wwwendt.de on 10 May 2014 at 7:15