I am having the same problem I think (apologies if I accidentally posted twice). The standard jquery call seems to work fine. I haven't broken this down into a simple page yet that I could try with FireFox, but I will do that next. I'm in IE6&7
// This never calls my WebMethod... $("#navigation").treeview({ persist: "location", collapsed: true, unique: false, ajax: { url: "SearchResults.aspx/GetData", type: "POST", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json" } }); // This does.... var x = $.ajax({type:"POST", url: "SearchResults.aspx/GetData", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json" }); alert(x); On Dec 18, 1:55 pm, paulcurtis <p...@inventome.com> wrote: > As i mentioned the Mozilla Firefox browser runs the page perfectly (i > have firebug too). But the exact same page does not work in IE 7 or IE > 6 and when i say doesn't work it doesn't load the treeview using the > JSON data. A normal treeview does work. However on the same page as > this test i load the JSON data into a div via .load and that works > across all browsers. > > So this is the exact same page in Firefox vs IE. One works as expected > and one doesn't. > > Is there anything in IE i can do to find out what is happening? > > It is something to do specifically with treeview. filetree does work > okay (but doesn't do exactly what i need it to do...) > > thanks > paul > > On Dec 18, 7:16 pm, MorningZ <morni...@gmail.com> wrote: > > > How about using Firefox (and more importantly Firebug) from Studio > > (right click on aspx file, choose "Browse With"), to make sure all > > libraries are getting loaded > > > On Dec 18, 1:28 pm, paulcurtis <p...@inventome.com> wrote: > > > > Hi, > > > > I really can't work this out. Im testing the async version of > > > treeview, just retrieving JSON from a static file for the time being. > > > > I have it set up in visual studio, running on the in built development > > > server. I have an aspx file and a plain htm file containing the JSON. > > > (I've deconstructed my real project down to this simple test case) > > > > I cannot get the treeview to work (retrieve the json) from IE 7 but > > > the exact same setup works fine in mozilla. > > > > If i run the set up based on the demo from my local file system within > > > IE i get a message about active x and scripting and it works fine. > > > (that's just html files) > > > > So this is only from visual studio (via built in development server) > > > and just IE. I assume it's some kind of security settings within IE > > > but i've tried every combination i can think off. From trusted sites > > > to lowering all security. > > > > Has anyone seen anything similar? Or might point me in the right > > > direction, it's driving me nuts! > > > > cheers > > > paul- Hide quoted text - > > > - Show quoted text -