[jQuery] Re: ASP.NET C# jquery treeview

2008-12-18 Thread TomG
I also have not been able to get the async portion of jquery TreeView plug in working in ASP.NET. My WebMethod is returning data just fine. Not sure what I'm doing wrong. I can call my WebMethod just fine outside of the treeview... //var x = $.ajax({type:"POST", //url:

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-18 Thread George
1. Check if you hit this URl with a browser what happens... 2. ASP.NET embeds securite measures into what can be POSTed to ASP.NET page. in web.config set 3. Please see my POST http://groups.google.com/group/jquery-en/browse_thread/thread/a2f65e23c7f60e06?hl=en# Your method might have problems

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-18 Thread mthakershi
Well.. I understand that. But it doesn't look that simple. I am not able to get the tree view example to work with ASP.NET. Here is the post I wrote in one other forum. Please see if you can help. Hello, I am not able to get this sample to work. It is driving me crazy. I think it is about setting

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-18 Thread George
I see, the most common way to return JSON is to use [WebMethod] example (in C#) [System.Web.Services.WebMethod(EnableSession = true)] public static object Fetch() { clsMyObject a = new clsMyObject; a.Name="George'; return a; } PS: you need EnableSession = tr

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-18 Thread mthakershi
What I wanted to know is: In PHP example, on client side it says something like url: sources.php and then sources.php file returns JSON treeview nodes. What would be the server-side equivalent in ASP.NET for that? I am not able to find any example for that. Thank you for your help. On Nov 17, 7

[jQuery] Re: ASP.NET C# jquery treeview

2008-11-17 Thread George
I am not sure i understandWhat is the exact problem? JQuery is 100% client side... ASP.NET is 100% server side... You should not have a problem to generate HTML with ASP.NET and use it with JQuery tree plugin The only this i can guess you having a problem with is IDs since ASP.NET generate